1diff --git a/buf.c b/buf.c 2index 40a5ee06..1fa975a6 100644 3--- a/buf.c 4+++ b/buf.c 5@@ -1265,7 +1265,7 @@ xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer) { 6 */ 7 int 8 xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input) { 9- if ((input == NULL) || (buf == NULL) || (buf->error)) 10+ if ((input == NULL) || (buf == NULL)) 11 return(-1); 12 CHECK_COMPAT(buf) 13 input->base = input->cur = buf->content;