diff libgaim/protocols/jabber/parser.c @ 14638:459dafda90af

[gaim-migrate @ 17384] GtkCellRendererExpander draws an expander in a renderer to avoid a large, needless margin. The approach is a bit hacky, but it's a good job. - RTL fix in GtkStatusBox - Drag-and-drop image into the global buddy icon selector to set a buddy icon committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 27 Sep 2006 17:28:44 +0000
parents 58202142e9ad
children 22d14df59ce4
line wrap: on
line diff
--- 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"));
 	}