changeset 14322:950f3ed6baa0

[gaim-migrate @ 17017] fix xmlnode_from_str for libxml2 committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 24 Aug 2006 17:33:24 +0000
parents 611ca4e7b429
children a0a360de39d8
files libgaim/xmlnode.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)