From 96900f3621153805af8b337e0cbb90b7c81e35da Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Tue, 25 Jan 2022 18:10:41 -0800 Subject: [PATCH] Remove the extra stderr output for debug-level log msgs on *nix As reported by Nelgin --- src/sexpots/sexpots.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sexpots/sexpots.c b/src/sexpots/sexpots.c index 7b552b2d0b..2628d3dc3f 100644 --- a/src/sexpots/sexpots.c +++ b/src/sexpots/sexpots.c @@ -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) -- GitLab