ref: refs/heads/master
commit 7c1fea47550f8cac05271398ca45451af76cd3e3
Author: Michael Andres
Date: Fri Jul 17 16:51:31 2009 +0200
Take care fatal and error messages are written to stderr and not to stdout.
---
src/pool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org