diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-09-17 19:25:28 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-09-17 19:25:28 +0000 |
commit | 63b01c2da11a68a29b8fa5caff14ffc6db381030 (patch) | |
tree | 231822650def3d0e5310093a1a53b8c05457c2f1 /python/libxml_wrap.h | |
parent | 9272704ba4906c13019b83626f0a241a15f0fc73 (diff) | |
download | libxml2-63b01c2da11a68a29b8fa5caff14ffc6db381030.tar.gz |
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.h | 2 |
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); |