X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FServerSocket.cpp;h=616d09863f33eb61b644d7092b8a6da611a82461;hb=dae70977a00c23657659682f3b593f04e618e5fd;hp=deaee5c14ac90d857d69136d7a240700409eb90b;hpb=45bc27809bae95259e251a2215b39f945d8835ca;p=lyx.git diff --git a/src/ServerSocket.cpp b/src/ServerSocket.cpp index deaee5c14a..616d09863f 100644 --- a/src/ServerSocket.cpp +++ b/src/ServerSocket.cpp @@ -3,11 +3,11 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes * \author Angus Leeming * \author John Levon - * \author João Luis M. Assirati + * \author João Luis M. Assirati * * Full author contact details are available in file CREDITS. */ @@ -30,6 +30,7 @@ #include #include +#include #if defined (_WIN32) # include @@ -51,7 +52,7 @@ ServerSocket::ServerSocket(LyXFunc * f, FileName const & addr) address_(addr) { if (fd_ == -1) { - lyxerr << "lyx: Disabling LyX socket." << endl; + LYXERR(Debug::LYXSERVER, "lyx: Disabling LyX socket."); return; } @@ -79,7 +80,8 @@ ServerSocket::~ServerSocket() theApp()->unregisterSocketCallback(fd_); if (::close(fd_) != 0) lyxerr << "lyx: Server socket " << fd_ - << " IO error on closing: " << strerror(errno); + << " IO error on closing: " << strerror(errno) + << endl; } address_.removeFile(); LYXERR(Debug::LYXSERVER, "lyx: Server socket quitting");