pidgin: 9d9ccad7: Fix this compile error:

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Mar 27 05:10:34 EDT 2009


-----------------------------------------------------------------
Revision: 9d9ccad79e30da52d052e497361b56c6387d0690
Ancestor: fe86da8180cb01718ecca4f80fd43c398f43d9ff
Author: markdoliner at pidgin.im
Date: 2009-03-27T09:02:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9d9ccad79e30da52d052e497361b56c6387d0690

Modified files:
        libpurple/plugins/mono/loader/debug-glue.c

ChangeLog: 

Fix this compile error:

debug-glue.c: In function 'purple_debug_glue':
debug-glue.c:12: error: format not a string literal and no format arguments

-------------- next part --------------
============================================================
--- libpurple/plugins/mono/loader/debug-glue.c	76737a8a9aff6b2784e2131c3f33db2bdf6b5c51
+++ libpurple/plugins/mono/loader/debug-glue.c	77b706c1636dc9e245adc04212e4609d117aaa58
@@ -9,7 +9,7 @@ void purple_debug_glue(int type, MonoStr
 	ccat = mono_string_to_utf8(cat);
 	cstr = mono_string_to_utf8(str);
 	
-	purple_debug(type, ccat, cstr);
+	purple_debug(type, ccat, "%s", cstr);
 	
 	g_free(ccat);
 	g_free(cstr);


More information about the Commits mailing list