Try to fix linux compilation.

This commit is contained in:
hiker 2015-10-21 00:18:51 +11:00
parent 10c612a0f6
commit 54a0e50fe3

View File

@ -108,7 +108,7 @@ void STKHost::logPacket(const NetworkString &ns, bool incoming)
if (m_log_file.getData() == NULL) // read only access, no need to lock
return;
char *arrow = incoming ? "<--" : "-->";
const char *arrow = incoming ? "<--" : "-->";
m_log_file.lock();
fprintf(m_log_file.getData(), "[%d\t] %s ",