changeset 25832:3b76a175a858

Fix two more purple_debug variations on printf(msg).
author Richard Laager <rlaager@wiktel.com>
date Fri, 14 Nov 2008 05:58:54 +0000
parents 71beb2c20aaa
children 9290eb3e07bf
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Fri Nov 14 05:56:15 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Fri Nov 14 05:58:54 2008 +0000
@@ -1689,7 +1689,7 @@
 	for (x = 0; x < 16; x++)
 		g_string_append_printf(msg, "%02hhx ", (unsigned char)m[x]);
 	g_string_append(msg, "\n");
-	purple_debug_misc("oscar", msg->str);
+	purple_debug_misc("oscar", "%s", msg->str);
 	g_string_free(msg, TRUE);
 
 	purple_input_remove(pos->inpa);
@@ -4967,7 +4967,7 @@
 	for (i=0; i<numtypes; i++)
 		g_string_append_printf(msg, " max type 0x%04x=%hd,", i, maxitems[i]);
 	g_string_append(msg, "\n");
-	purple_debug_misc("oscar", msg->str);
+	purple_debug_misc("oscar", "%s", msg->str);
 	g_string_free(msg, TRUE);
 
 	if (numtypes >= 0)