Fixing some ASN.1 related bugs. Playing a game works now, but there is still an issue when the lobby is started after the game.

This commit is contained in:
lotodore
2009-08-03 20:42:32 +00:00
parent 82ebd318d0
commit 9a8f2ae01a
6 changed files with 32 additions and 13 deletions
+6 -6
View File
@@ -30,27 +30,27 @@ void internal_log_err(const std::string &msg);
void internal_log_msg(const std::string &msg);
void internal_log_level(const std::string &msg, int logLevel);
#define LOG_ERROR(e) \
#define LOG_ERROR(_e) \
do \
{ \
std::ostringstream outStream; \
outStream << e << std::endl; \
outStream << _e << std::endl; \
internal_log_err(outStream.str()); \
} \
while(false)
#define LOG_MSG(e) \
#define LOG_MSG(_e) \
do \
{ \
std::ostringstream outStream; \
outStream << e << std::endl; \
outStream << _e << std::endl; \
internal_log_msg(outStream.str()); \
} \
while(false)
#define LOG_VERBOSE(e) \
#define LOG_VERBOSE(_e) \
do \
{ \
std::ostringstream outStream; \
outStream << e << std::endl; \
outStream << _e << std::endl; \
internal_log_level(outStream.str(), 2); \
} \
while(false)