im.pidgin.pidgin: c6ff9f9d34f8aa135d3cdf8b4363dddf6d578b3f
khc at pidgin.im
khc at pidgin.im
Thu Dec 6 03:16:23 EST 2007
-----------------------------------------------------------------
Revision: c6ff9f9d34f8aa135d3cdf8b4363dddf6d578b3f
Ancestor: a9bb156e458b3ce77f9a7d20ff81ece2513296dc
Author: khc at pidgin.im
Date: 2007-12-06T07:24:10
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/msn/notification.c
ChangeLog:
gets rid of one valgrind warning
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c 5ca6c66506c4d68e65e2f8c27a229fc3eabc5620
+++ libpurple/protocols/msn/notification.c a381136b6a41d2e07e8deb4c4ca5c6c4b3d8a395
@@ -1579,6 +1579,7 @@ gcf_cmd_post(MsnCmdProc *cmdproc, MsnCom
{
xmlnode * root;
gchar * buf;
+ int xmllen;
g_return_if_fail(cmd->payload != NULL);
@@ -1588,10 +1589,10 @@ gcf_cmd_post(MsnCmdProc *cmdproc, MsnCom
return;
}
- buf = xmlnode_to_formatted_str(root, NULL);
+ buf = xmlnode_to_formatted_str(root, &xmllen);
/* get the payload content */
- purple_debug_info("MSNP14","GCF command payload:\n%s\n",buf);
+ purple_debug_info("MSNP14","GCF command payload:\n%.*s\n", xmllen, buf);
g_free(buf);
xmlnode_free(root);
More information about the Commits
mailing list