From: Michael Andres Date: Fri, 17 Jul 2009 14:51:31 +0000 (+0200) Subject: Take care fatal and error messages are written to stderr and not to stdout. X-Git-Tag: BASE-SuSE-Code-12_1-Branch~165^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3683e6212fed0691b377b44be2851a68184ce4da;p=platform%2Fupstream%2Flibsolv.git Take care fatal and error messages are written to stderr and not to stdout. --- diff --git a/src/pool.c b/src/pool.c index ad1e8cb..eae97e1 100644 --- a/src/pool.c +++ b/src/pool.c @@ -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);