Try to fix linux compilation.
This commit is contained in:
parent
10c612a0f6
commit
54a0e50fe3
@ -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 ",
|
||||
|
Loading…
Reference in New Issue
Block a user