aboutsummaryrefslogtreecommitdiffstats
path: root/python/libxml_wrap.h
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-09-17 19:25:28 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-09-17 19:25:28 +0000
commit63b01c2da11a68a29b8fa5caff14ffc6db381030 (patch)
tree231822650def3d0e5310093a1a53b8c05457c2f1 /python/libxml_wrap.h
parent9272704ba4906c13019b83626f0a241a15f0fc73 (diff)
downloadandroid_external_libxml2-63b01c2da11a68a29b8fa5caff14ffc6db381030.tar.gz
android_external_libxml2-63b01c2da11a68a29b8fa5caff14ffc6db381030.tar.bz2
android_external_libxml2-63b01c2da11a68a29b8fa5caff14ffc6db381030.zip
stupid bug found by mattam@netcourrier.com Daniel
* python/libxml_wrap.h: stupid bug found by mattam@netcourrier.com Daniel
Diffstat (limited to 'python/libxml_wrap.h')
-rw-r--r--python/libxml_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
index 7202c320..752c7f71 100644
--- a/python/libxml_wrap.h
+++ b/python/libxml_wrap.h
@@ -81,7 +81,7 @@ typedef struct {
/* 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);