libgaim/protocols/jabber/parser.c

changeset 14700
98dc3d9a69e3
parent 14690
9287ecc4adb1
child 15158
501a55683bf2
--- a/libgaim/protocols/jabber/parser.c	Wed Sep 27 04:44:30 2006 +0000
+++ b/libgaim/protocols/jabber/parser.c	Wed Sep 27 17:28:44 2006 +0000
@@ -174,7 +174,7 @@
 		/* libxml inconsistently starts parsing on creating the
 		 * parser, so do a ParseChunk right afterwards to force it. */
 		js->context = xmlCreatePushParserCtxt(&jabber_parser_libxml, js, buf, len, NULL);
-		xmlParseChunk(js->context, NULL, 0, 0);
+		xmlParseChunk(js->context, "", 0, 0);
 	} else if (xmlParseChunk(js->context, buf, len, 0) < 0) {
 		gaim_connection_error(js->gc, _("XML Parse error"));
 	}

mercurial