X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServerSocket.cpp;h=616d09863f33eb61b644d7092b8a6da611a82461;hb=0a7705a6736a85c3c751f7b4e9998833cdb71fc9;hp=47e800a8eb49ca1b39557fa993484c95bb108a09;hpb=2bf1c09376de37a3d66b79ca5f4304f29d5b4d06;p=lyx.git diff --git a/src/ServerSocket.cpp b/src/ServerSocket.cpp index 47e800a8eb..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. */ @@ -52,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; } @@ -80,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");