commit | 2c437da7f09528002c4ae5ab57b7620ed43733f4 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@redhat.com> | Fri May 11 12:08:15 2012 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Fri May 11 12:08:15 2012 +0800 |
tree | 347432cdc28230d1d9b56349539f612ef8011b69 | |
parent | ed35d3d7c3c28b46c012fdd26d40da374a06c8ed [diff] [blame] |
Fix a wrong return value in previous patch
diff --git a/xmlreader.c b/xmlreader.c index ef41927..c5ab60e 100644 --- a/xmlreader.c +++ b/xmlreader.c
@@ -5625,7 +5625,7 @@ if (input == NULL) { if (ioclose != NULL) ioclose(ioctx); - return (NULL); + return (-1); } return (xmlTextReaderSetup(reader, input, URL, encoding, options)); }