changeset 26224:fd5dfd3c04b5

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
author Mark Doliner <mark@kingant.net>
date Fri, 27 Mar 2009 09:02:22 +0000
parents 24463a66f31c
children a28827fdea16
files libpurple/plugins/mono/loader/debug-glue.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);