summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-09-18 09:33:13 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-09-18 09:33:13 +0000
commit95c248b6030bd7dbbfbe0ff9e72f0518f2ff6246 (patch)
tree0e5b125694b2252c1f28847e43c5a39f7b32c933 /python
parent1f23440f7922bcb217ecc00d121e046032854985 (diff)
downloadlibxslt-95c248b6030bd7dbbfbe0ff9e72f0518f2ff6246.tar.gz
libxslt-95c248b6030bd7dbbfbe0ff9e72f0518f2ff6246.tar.bz2
libxslt-95c248b6030bd7dbbfbe0ff9e72f0518f2ff6246.zip
don't output errors to stdout by default use stderr instead. Daniel
* python/libxslt.c: don't output errors to stdout by default use stderr instead. Daniel
Diffstat (limited to 'python')
-rw-r--r--python/libxslt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/libxslt.c b/python/libxslt.c
index 84978414..09b4cc54 100644
--- a/python/libxslt.c
+++ b/python/libxslt.c
@@ -572,7 +572,7 @@ libxslt_xsltErrorFuncHandler(ATTRIBUTE_UNUSED void *ctx, const char *msg,
if (libxslt_xsltPythonErrorFuncHandler == NULL) {
va_start(ap, msg);
- vfprintf(stdout, msg, ap);
+ vfprintf(stderr, msg, ap);
va_end(ap);
} else {
str = (char *) xmlMalloc(150);