# HG changeset patch # User Nathan Walp # Date 1156440804 0 # Node ID 950f3ed6baa048feda144e37cf3aee0dfd3dbeb4 # Parent 611ca4e7b429bc9233d4e5c7728d9a021b4d8cd7 [gaim-migrate @ 17017] fix xmlnode_from_str for libxml2 committer: Tailor Script diff -r 611ca4e7b429 -r 950f3ed6baa0 libgaim/xmlnode.c --- a/libgaim/xmlnode.c Thu Aug 24 17:01:05 2006 +0000 +++ b/libgaim/xmlnode.c Thu Aug 24 17:33:24 2006 +0000 @@ -570,7 +570,7 @@ xpd = g_new0(struct _xmlnode_parser_data, 1); #ifdef HAVE_LIBXML - if (xmlSAXUserParseMemory(&xmlnode_parser_libxml, xpd, str, size) < 0) { + if (xmlSAXUserParseMemory(&xmlnode_parser_libxml, xpd, str, real_size) < 0) { while(xpd->current && xpd->current->parent) xpd->current = xpd->current->parent; if(xpd->current)