#include "ServerSocket.h"
-#include "support/debug.h"
#include "FuncRequest.h"
#include "LyXAction.h"
#include "LyXFunc.h"
#include "frontends/Application.h"
+#include "support/debug.h"
#include "support/environment.h"
#include "support/FileName.h"
-#include "support/lyxlib.h"
#include "support/socktools.h"
#include <boost/bind.hpp>
address_(addr)
{
if (fd_ == -1) {
- lyxerr << "lyx: Disabling LyX socket." << endl;
+ LYXERR(Debug::LYXSERVER, "lyx: Disabling LyX socket.");
return;
}
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");