diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 18:25:20 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 18:25:20 +0000 |
commit | 4e850413037c618ed375ac0b988dbe1bc12ca0fd (patch) | |
tree | 1b0e273f6a9849eabdd1c73bf755aaf932b06191 /src/utils/parserutilserror.h | |
parent | fe1b45b77687b0f9ab81f851e9eb2846f34e6765 (diff) | |
download | libhubbub-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.h | 2 |
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; } |