diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-12 22:50:21 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-12 22:50:21 +0100 |
commit | 8e875492a0b3a10bf0a3a52907452535c4fa6ff7 (patch) | |
tree | 3b3f90c9eaf71638292f20b43d50371af2070cc0 /src/account-server/main-account.cpp | |
parent | b552cba2177b36898d432e80fea3f4c2f483a78d (diff) | |
download | manaserv-8e875492a0b3a10bf0a3a52907452535c4fa6ff7.tar.gz manaserv-8e875492a0b3a10bf0a3a52907452535c4fa6ff7.tar.bz2 manaserv-8e875492a0b3a10bf0a3a52907452535c4fa6ff7.tar.xz manaserv-8e875492a0b3a10bf0a3a52907452535c4fa6ff7.zip |
Fixed game server crash and code style
The game server crashed when it was closed while it still hadn't been
able to connect to the account server, due to an uninitialized pointer.
Code style fixes. Don't use 'const' for arguments that are passed by
value and start variable names with lowercase.
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r-- | src/account-server/main-account.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp index f2373d28..90c30a51 100644 --- a/src/account-server/main-account.cpp +++ b/src/account-server/main-account.cpp @@ -142,8 +142,8 @@ static void initialize() Logger::setTeeMode(true); Configuration::initialize(configPath); - LOG_INFO("Using Config File: " << configPath); - LOG_INFO("Using Log File: " << logPath); + LOG_INFO("Using config file: " << configPath); + LOG_INFO("Using log file: " << logPath); // Open database try { |