stupid bug found by mattam@netcourrier.com Daniel
* python/libxml_wrap.h: stupid bug found by mattam@netcourrier.com
Daniel
diff --git a/ChangeLog b/ChangeLog
index 94e893c..5fc261a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 17 21:22:25 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * python/libxml_wrap.h: stupid bug found by mattam@netcourrier.com
+
Tue Sep 17 19:58:26 CEST 2002 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: small portability glitch fixed.
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
index 7202c32..752c7f7 100644
--- a/python/libxml_wrap.h
+++ b/python/libxml_wrap.h
@@ -81,7 +81,7 @@
/* FILE * have their own internal representation */
#define PyFile_Get(v) (((v) == Py_None) ? NULL : \
- (PyFile_Check(v) ? NULL : (PyFile_AsFile(v))))
+ (PyFile_Check(v) ? (PyFile_AsFile(v)) : NULL))
PyObject * libxml_intWrap(int val);