summaryrefslogtreecommitdiff
path: root/src/utils/parserutilserror.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-09 18:25:20 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-09 18:25:20 +0000
commit4e850413037c618ed375ac0b988dbe1bc12ca0fd (patch)
tree1b0e273f6a9849eabdd1c73bf755aaf932b06191 /src/utils/parserutilserror.h
parentfe1b45b77687b0f9ab81f851e9eb2846f34e6765 (diff)
downloadlibhubbub-4e850413037c618ed375ac0b988dbe1bc12ca0fd.tar.gz
libhubbub-4e850413037c618ed375ac0b988dbe1bc12ca0fd.tar.bz2
Convert PARSERUTILS_BADENCODING into HUBBUB_BADENCODING
svn path=/trunk/hubbub/; revision=5667
Diffstat (limited to 'src/utils/parserutilserror.h')
-rw-r--r--src/utils/parserutilserror.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/parserutilserror.h b/src/utils/parserutilserror.h
index 9e0c8f5..4b1b99e 100644
--- a/src/utils/parserutilserror.h
+++ b/src/utils/parserutilserror.h
@@ -33,6 +33,8 @@ static inline hubbub_error hubbub_error_from_parserutils_error(
return HUBBUB_FILENOTFOUND;
else if (error == PARSERUTILS_NEEDDATA)
return HUBBUB_NEEDDATA;
+ else if (error == PARSERUTILS_BADENCODING)
+ return HUBBUB_BADENCODING;
return HUBBUB_UNKNOWN;
}