mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
error.c: *input->cur == 0 does not mean no error
Complements: ce0b0d0d81fdbb5
This commit is contained in:
parent
49bbfdb6c9
commit
c4184ba217
4
error.c
4
error.c
@ -177,8 +177,8 @@ xmlParserPrintFileContextInternal(xmlParserInputPtr input ,
|
||||
xmlChar content[81]; /* space for 80 chars + line terminator */
|
||||
xmlChar *ctnt;
|
||||
|
||||
if ((input == NULL) || (input->cur == NULL) ||
|
||||
(*input->cur == 0)) return;
|
||||
if ((input == NULL) || (input->cur == NULL))
|
||||
return;
|
||||
|
||||
cur = input->cur;
|
||||
base = input->base;
|
||||
|
Loading…
x
Reference in New Issue
Block a user