aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-08-15 20:50:56 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-08-15 20:50:56 (GMT)
commit1eae329d4e4815e0bf97771e25762807e7e1fdd2 (patch)
tree378c1759fc117a2c1c89ab17ca27cb3ef077f3bf
parentb2ea8721d40e44080c6fc32c33cd4056087869db (diff)
Fix build of Akonadi server
-rw-r--r--src/server/akonadi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/akonadi.cpp b/src/server/akonadi.cpp
index 4ac72e5..2dd11f4 100644
--- a/src/server/akonadi.cpp
+++ b/src/server/akonadi.cpp
@@ -183,7 +183,7 @@ bool AkonadiServer::init()
const QString cmdSocketFile = socketDir % QStringLiteral("/akonadiserver-cmd.socket");
QFile::remove(cmdSocketFile);
if (!mCmdServer->listen(cmdSocketFile)) {
- akError() << "Unable to listen on Unix socket" << cmdSocketFile;
+ qCCritical(AKONADISERVER_LOG) << "Unable to listen on Unix socket" << cmdSocketFile;
quit();
return false;
}
@@ -191,7 +191,7 @@ bool AkonadiServer::init()
const QString ntfSocketFile = socketDir % QStringLiteral("/akonadiserver-ntf.socket");
QFile::remove(ntfSocketFile);
if (!mNtfServer->listen(ntfSocketFile)) {
- akError() << "Unable to listen on Unix socket" << ntfSocketFile;
+ qCCritical(AKONADISERVER_LOG) << "Unable to listen on Unix socket" << ntfSocketFile;
quit();
return false;
}