summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-08-11 01:29:00 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-08-11 01:29:00 +0000
commita6c3624c75a547e142fc732898f9a3890fa9e2f5 (patch)
tree6e1b44c51a706843d2057e3e1126ffa5714becf1 /src/parser.c
parent4aef3c775e93d5add0277941fe0ecccc91d4ccb3 (diff)
downloadlibhubbub-a6c3624c75a547e142fc732898f9a3890fa9e2f5.tar.gz
libhubbub-a6c3624c75a547e142fc732898f9a3890fa9e2f5.tar.bz2
Move one step closer to getting encoding changes working.
svn path=/trunk/hubbub/; revision=5000
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 7f187a6..e43a309 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -46,7 +46,7 @@ hubbub_parser *hubbub_parser_create(const char *enc,
return NULL;
parser->stream = parserutils_inputstream_create(enc,
- enc != NULL ? HUBBUB_CHARSET_DICTATED : HUBBUB_CHARSET_UNKNOWN,
+ enc != NULL ? HUBBUB_CHARSET_CONFIDENT : HUBBUB_CHARSET_UNKNOWN,
hubbub_charset_extract, alloc, pw);
if (parser->stream == NULL) {
alloc(parser, 0, pw);
@@ -105,7 +105,7 @@ hubbub_error hubbub_parser_setopt(hubbub_parser *parser,
hubbub_parser_opttype type,
hubbub_parser_optparams *params)
{
- hubbub_error result = HUBBUB_OK;;
+ hubbub_error result = HUBBUB_OK;
if (parser == NULL || params == NULL)
return HUBBUB_BADPARM;