summaryrefslogtreecommitdiff
path: root/include/hubbub
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-06 12:33:40 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-06 12:33:40 +0000
commite76aa66b639c6c85939660f5eb5dc03c5dee69de (patch)
treebddd20e7abf5ccdf6a5a39aec979390fac504e00 /include/hubbub
parent1c211bb714af65bc3baa72a0066076e68330df5f (diff)
downloadlibhubbub-e76aa66b639c6c85939660f5eb5dc03c5dee69de.tar.gz
libhubbub-e76aa66b639c6c85939660f5eb5dc03c5dee69de.tar.bz2
Port to changed lpu API.
Drop HUBBUB_OOD and just use HUBBUB_NEEDDATA, instead. Currently aborts in bogus comment handling if it encounters a \r at the end of the inputstream's utf-8 buffer. svn path=/trunk/hubbub/; revision=5966
Diffstat (limited to 'include/hubbub')
-rw-r--r--include/hubbub/errors.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/hubbub/errors.h b/include/hubbub/errors.h
index dd137ae..f535cf9 100644
--- a/include/hubbub/errors.h
+++ b/include/hubbub/errors.h
@@ -12,9 +12,8 @@
typedef enum hubbub_error {
HUBBUB_OK = 0,
- HUBBUB_OOD = 1, /**< Out of data */
- HUBBUB_REPROCESS = 2,
- HUBBUB_ENCODINGCHANGE = 3,
+ HUBBUB_REPROCESS = 1,
+ HUBBUB_ENCODINGCHANGE = 2,
HUBBUB_NOMEM = 5,
HUBBUB_BADPARM = 6,