diff options
Diffstat (limited to 'src/mad.cpp')
-rw-r--r-- | src/mad.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mad.cpp b/src/mad.cpp index 2a6b50a..8a7b7ba 100644 --- a/src/mad.cpp +++ b/src/mad.cpp @@ -31,8 +31,6 @@ #include "Daemon/Backends/NetworkLogger.h" #include "Daemon/RequestHandlers/CommandRequestHandler.h" -#include <unistd.h> - using namespace Mad; @@ -73,7 +71,7 @@ int main() { application.getRequestManager()->unregisterConnection(connection); } catch(Core::Exception &e) { - application.logf(Core::LoggerBase::CRITICAL, "Connection error: %s", e.strerror().c_str()); + application.logf(Core::LoggerBase::LOG_CRITICAL, "Connection error: %s", e.strerror().c_str()); } delete connection; |