Fix windows-build and change some warnings if configuration-files can not be read properly
- Add proper warning about missing [authserver] -tag in authserver configuration file if not found. - Add proper warning about missing [worldserver] -tag in worldserver configuration file if not found. Thanks to Qaston for finding the redefininition of strdup! --HG-- branch : trunk
This commit is contained in:
1 parent
09728dd491
commit
969bf213b8
4 files changed
+4
-27
No files matched your search
@@ -165,7 +165,8 @@ extern int main(int argc, char **argv)
|
||||
|
||||
if (!sConfig.SetSource(cfg_file))
|
||||
{
|
||||
sLog.outError("Could not find configuration file %s.", cfg_file);
|
||||
sLog.outError("\x1b[31mInvalid or missing configuration file :\x1b[0m %s", cfg_file);
|
||||
sLog.outError("\x1b[31mVerify that the file exists and has \'\x1b[0m[authserver]\x1b[31m\' written in the top of the file!\x1b[0m");
|
||||
return 1;
|
||||
}
|
||||
sLog.Initialize();
|
||||
|
||||
Reference in new issue
Block a user