projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e6f63
)
Take care fatal and error messages are written to stderr and not to stdout.
author
Michael Andres
<ma@suse.de>
Fri, 17 Jul 2009 14:51:31 +0000
(16:51 +0200)
committer
Michael Andres
<ma@suse.de>
Fri, 17 Jul 2009 14:51:31 +0000
(16:51 +0200)
src/pool.c
patch
|
blob
|
history
diff --git
a/src/pool.c
b/src/pool.c
index
ad1e8cb
..
eae97e1
100644
(file)
--- 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);