log masterserver reply

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4134 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-01-12 16:12:28 +00:00
parent 293fa9f114
commit 454083ae68
+4 -1
View File
@@ -105,7 +105,10 @@ void checkmasterreply()
if(mssock!=ENET_SOCKET_NULL && !httpgetreceive(mssock, masterb))
{
mssock = ENET_SOCKET_NULL;
printf("masterserver reply: %s\n", stripheader(masterrep));
string text;
filtertext(text, (const char *) stripheader(masterrep));
extern struct log *logger;
logger->writeline(log::info, "masterserver reply: %s\n", text);
}
}