From: <fac...@us...> - 2006-08-24 17:33:28
|
Revision: 17017 Author: faceprint Date: 2006-08-24 10:33:24 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=17017&view=rev Log Message: ----------- fix xmlnode_from_str for libxml2 Modified Paths: -------------- trunk/libgaim/xmlnode.c Modified: trunk/libgaim/xmlnode.c =================================================================== --- trunk/libgaim/xmlnode.c 2006-08-24 17:01:05 UTC (rev 17016) +++ trunk/libgaim/xmlnode.c 2006-08-24 17:33:24 UTC (rev 17017) @@ -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) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |