diff options
author | kwaclaw <kwaclaw> | 2012-02-21 02:59:51 +0000 |
---|---|---|
committer | kwaclaw <kwaclaw> | 2012-02-21 02:59:51 +0000 |
commit | 1b94818268b7ad6d17e1ec3841839b17b4019925 (patch) | |
tree | d272dc2f8415a6b072ac432859220e646cb3295e | |
parent | a8600b43d6a2614f1a842a60d5ffb83a2767fd2b (diff) | |
download | libexpat-1b94818268b7ad6d17e1ec3841839b17b4019925.tar.gz |
Applied path #3010222 as fix for issue #3010819.
-rw-r--r-- | lib/xmltok_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmltok_impl.c b/lib/xmltok_impl.c index 16dfb85..9c2895b 100644 --- a/lib/xmltok_impl.c +++ b/lib/xmltok_impl.c @@ -885,7 +885,7 @@ PREFIX(scanPercent)(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) { if (ptr == end) - return -XML_TOK_PERCENT; + return XML_TOK_PARTIAL; switch (BYTE_TYPE(enc, ptr)) { CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr) case BT_S: case BT_LF: case BT_CR: case BT_PERCNT: |