]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.C
get rid of LYX_LIBS
[lyx.git] / src / lyxserver.C
index ba3e0856713dcda4bff3e9da40c60af9b3295dd4..64d0c156221b9686a1629b37552e5ae789ce85ff 100644 (file)
@@ -62,7 +62,7 @@
 #define INCL_DOSNMPIPES
 #define INCL_DOSERRORS
 #include <os2.h>
-#include "os2_errortable.h"
+#include "support/os2_errortable.h"
 #endif
 
 using std::endl;
@@ -251,7 +251,7 @@ void LyXComm::endPipe(int & fd, string const & filename)
  
 // OS/2 pipes are deleted automatically
 #ifndef __EMX__
-       if (lyx::unlink(filename) < 0){
+       if (lyx::unlink(filename) < 0) {
                lyxerr << "LyXComm: Could not remove pipe " << filename
                       << '\n' << strerror(errno) << endl;
        };
@@ -318,7 +318,7 @@ void LyXComm::callback(int fd, void *v)
                        errno = 0;
                        return; // up to libforms select-loop (*crunch*)
                }
-               if (errno != 0 )
+               if (errno != 0)
                {
                        lyxerr << "LyXComm: " << strerror(errno) << endl;
                        if (!lsbuf.empty())
@@ -450,7 +450,7 @@ void LyXServer::callback(LyXServer * serv, string const & msg)
                        // we are listening.
                        if (cmd == "hello") {
                                // One more client
-                               if (serv->numclients == MAX_CLIENTS){ //paranoid check
+                               if (serv->numclients == MAX_CLIENTS) { //paranoid check
                                        lyxerr[Debug::LYXSERVER]
                                                << "LyXServer: too many clients..."
                                                << endl;