Explorar o código

Remove stupid syntax

Bryan Drewery %!s(int64=6) %!d(string=hai) anos
pai
achega
29cd73ee8c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/log.cc

+ 1 - 1
src/log.cc

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