diff libpurple/protocols/oscar/oscar.c @ 24398:0320b4a33432

Backport the 'purple_debug_*(msg)' -> 'purple_debug_*("%s", msg);' fixes. applied changes from fef93b50fe2b6c172be07648cbc70b62a42fcfff through 111d22afa901c48464e4da4d37d1cca3381ae162
author Richard Laager <rlaager@wiktel.com>
date Sun, 16 Nov 2008 06:50:19 +0000
parents a3c119fd31e3
children 9fc3f5bf4455 0331bc480515 6ecfc6b9667c 297d83036107
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Sun Nov 16 00:10:02 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sun Nov 16 06:50:19 2008 +0000
@@ -1676,7 +1676,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);
@@ -4947,7 +4947,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)