commit | c4184ba217009798504ca25f011ed7899ac1f65f | [log] [tgz] |
---|---|---|
author | Pavel Raiskup <praiskup@redhat.com> | Tue Dec 01 13:24:44 2015 +0100 |
committer | Daniel Veillard <veillard@redhat.com> | Fri Apr 08 10:32:29 2016 +0800 |
tree | 3a79d3a3a3ff4ff0d615b645ab729d311aee5172 | |
parent | 49bbfdb6c9f6ee8d504045acd5f10502ef39c1e6 [diff] |
error.c: *input->cur == 0 does not mean no error Complements: ce0b0d0d81fdbb5
diff --git a/error.c b/error.c index 9c45040..4ca6838 100644 --- a/error.c +++ b/error.c
@@ -177,8 +177,8 @@ 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;