소스 검색

* 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);
   }