summaryrefslogtreecommitdiff
path: root/xmlregexp.c
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-11-11 12:53:54 +0000
committerMike Hommey <mh@glandium.org>2004-11-11 12:53:54 +0000
commitf51dd67f3a3f472af0620391eb588eeca4533689 (patch)
tree9184c396c489196608427d5fa35814e86a1e479f /xmlregexp.c
parent9705f1a5e858108d21a0128556f42b25d16833cd (diff)
downloadlibxml2-f51dd67f3a3f472af0620391eb588eeca4533689.tar.gz
Load /tmp/tmp.n9GTkp/libxml2-2.6.16 intoupstream/2.6.16
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'xmlregexp.c')
-rw-r--r--xmlregexp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlregexp.c b/xmlregexp.c
index b34cf9c..eb67fa4 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -4062,6 +4062,8 @@ void
xmlRegexpPrint(FILE *output, xmlRegexpPtr regexp) {
int i;
+ if (output == NULL)
+ return;
fprintf(output, " regexp: ");
if (regexp == NULL) {
fprintf(output, "NULL\n");