ソースを参照

* Fixed a bug in putlog()

svn: 673
Bryan Drewery 22 年 前
コミット
c53ef9748b
1 ファイル変更1 行追加1 行削除
  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);
   }