Fix this compile error:

Fri, 27 Mar 2009 09:02:22 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Fri, 27 Mar 2009 09:02:22 +0000
changeset 26561
79ce052c68dd
parent 26560
efe8c89bad1b
child 26562
c279f7316767

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

libpurple/plugins/mono/loader/debug-glue.c file | annotate | diff | comparison | revisions
--- a/libpurple/plugins/mono/loader/debug-glue.c	Fri Mar 27 08:54:30 2009 +0000
+++ b/libpurple/plugins/mono/loader/debug-glue.c	Fri Mar 27 09:02:22 2009 +0000
@@ -9,7 +9,7 @@
 	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);

mercurial