summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-05 09:51:59 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-05 09:51:59 +0000
commitc14e8075938da01140ac307b66b69f749be133d6 (patch)
treef71f0533e5d4055b85ebec69e82c50e434305f28 /src/account-server/main-account.cpp
parent7465e9bf8fe03961c02b360002439c1072090bf0 (diff)
downloadmanaserv-c14e8075938da01140ac307b66b69f749be133d6.tar.gz
manaserv-c14e8075938da01140ac307b66b69f749be133d6.tar.bz2
manaserv-c14e8075938da01140ac307b66b69f749be133d6.tar.xz
manaserv-c14e8075938da01140ac307b66b69f749be133d6.zip
Removed log level argument from LOG_FATAL helper macro, with the assumption
that fatal messages should always have highest log level.
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index 87fe68b8..1d83020b 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -147,7 +147,7 @@ void initialize()
// --- Initialize enet.
if (enet_initialize() != 0) {
- LOG_FATAL("An error occurred while initializing ENet", 0);
+ LOG_FATAL("An error occurred while initializing ENet");
exit(2);
}
@@ -277,7 +277,7 @@ int main(int argc, char *argv[])
if (!accountHandler->startListen(port) ||
!serverHandler->startListen(port + 1) ||
!chatHandler->startListen(port + 2)) {
- LOG_ERROR("Unable to create an ENet server host.", 0);
+ LOG_FATAL("Unable to create an ENet server host.");
return 3;
}