Skip to content
Browse files

Fix a wrong return value in previous patch

  • Loading branch information...
1 parent ed35d3d commit 2c437da7f09528002c4ae5ab57b7620ed43733f4 @veillard veillard committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 xmlreader.c
View
2 xmlreader.c
@@ -5625,7 +5625,7 @@ xmlReaderNewIO(xmlTextReaderPtr reader, xmlInputReadCallback ioread,
if (input == NULL) {
if (ioclose != NULL)
ioclose(ioctx);
- return (NULL);
+ return (-1);
}
return (xmlTextReaderSetup(reader, input, URL, encoding, options));
}

0 comments on commit 2c437da

Please sign in to comment.
Something went wrong with that request. Please try again.