]> git.lyx.org Git - lyx.git/blobdiff - src/ServerSocket.cpp
whitespace only
[lyx.git] / src / ServerSocket.cpp
index 3535ee4560a94c309ebed3ab80ff58a41f72d9c3..fb6e3bf75c6abe24c62e7c7b05ad683041b6df74 100644 (file)
@@ -129,11 +129,11 @@ void ServerSocket::dataCallback(int fd)
                return;
        shared_ptr<LyXDataSocket> client = it->second;
        string line;
-       size_t pos;
        bool saidbye = false;
        while (!saidbye && client->readln(line)) {
                // The protocol must be programmed here
                // Split the key and the data
+               size_t pos;
                if ((pos = line.find(':')) == string::npos) {
                        client->writeln("ERROR:" + line + ":malformed message");
                        continue;