Explorar o código

* Fixed a bug in putlog()

svn: 673
Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
c53ef9748b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/log.c

+ 1 - 1
src/log.c

@@ -294,7 +294,7 @@ void putlog(int type, char *chname, char *format, ...)
 
   if ((!backgrd) && (!term_z)) {
     dprintf(DP_STDOUT, "%s", out);
-  } else if ((type & LOG_ERRORS) && use_stderr) {
+  } else if ((type & LOG_ERRORS || type & LOG_MISC) && use_stderr) {
     out += tsl;
     dprintf(DP_STDERR, "%s", s);
   }