Take care fatal and error messages are written to stderr and not to stdout.
authorMichael Andres <ma@suse.de>
Fri, 17 Jul 2009 14:51:31 +0000 (16:51 +0200)
committerMichael Andres <ma@suse.de>
Fri, 17 Jul 2009 14:51:31 +0000 (16:51 +0200)
src/pool.c

index ad1e8cb..eae97e1 100644 (file)
@@ -751,7 +751,7 @@ pool_debug(Pool *pool, int type, const char *format, ...)
   va_start(args, format);
   if (!pool->debugcallback)
     {
-      if ((type & (SAT_FATAL|SAT_ERROR)) == 0 || !(pool->debugmask & SAT_DEBUG_TO_STDERR))
+      if ((type & (SAT_FATAL|SAT_ERROR)) == 0 && !(pool->debugmask & SAT_DEBUG_TO_STDERR))
         vprintf(format, args);
       else
         vfprintf(stderr, format, args);