Commit 9187c26d authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Remove the extra stderr output for debug-level log msgs on *nix

As reported by Nelgin
parent 1da032de
Pipeline #2626 passed with stage
in 9 minutes and 23 seconds
......@@ -216,11 +216,6 @@ void lputs(int level, const char* str)
_snprintf(dbgmsg,sizeof(dbgmsg),"%s %s", NAME, str);
if(log_level==LOG_DEBUG)
OutputDebugString(dbgmsg);
#else
char dbgmsg[1024];
snprintf(dbgmsg,sizeof(dbgmsg),"%s %s", NAME, str);
if(log_level==LOG_DEBUG)
fputs(dbgmsg, stderr);
#endif
if(level>log_level)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment