pidgin.next.minor: 73b0f0ff: Fix two more purple_debug variations on ...

rlaager at pidgin.im rlaager at pidgin.im
Fri Nov 14 01:10:32 EST 2008


-----------------------------------------------------------------
Revision: 73b0f0ff462b70cccf803b89e4ddffbd66fd3849
Ancestor: 4e696fba0d861f9ec470d4c442a943f1e761094a
Author: rlaager at pidgin.im
Date: 2008-11-14T05:58:54
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/73b0f0ff462b70cccf803b89e4ddffbd66fd3849

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

Fix two more purple_debug variations on printf(msg).

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	2f3c3ec6403a4db79512a5a8984e7949df4f6727
+++ libpurple/protocols/oscar/oscar.c	e2b6b1e5b5094baf173b6ea45d2c118d53e859bc
@@ -1689,7 +1689,7 @@ static void damn_you(gpointer data, gint
 	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 @@ static int purple_ssi_parserights(OscarD
 	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)


More information about the Commits mailing list