Fri, 27 Mar 2009 09:02:22 +0000
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
| 11660 | 1 | #include "mono-glue.h" |
| 2 | #include "debug.h" | |
| 3 | ||
| 15884 | 4 | void purple_debug_glue(int type, MonoString *cat, MonoString *str) |
| 11660 | 5 | { |
| 6 | char *ccat; | |
| 7 | char *cstr; | |
| 8 | ||
| 9 | ccat = mono_string_to_utf8(cat); | |
| 10 | cstr = mono_string_to_utf8(str); | |
| 11 | ||
|
26561
79ce052c68dd
Fix this compile error:
Mark Doliner <markdoliner@pidgin.im>
parents:
15884
diff
changeset
|
12 | purple_debug(type, ccat, "%s", cstr); |
| 11660 | 13 | |
| 14 | g_free(ccat); | |
| 15 | g_free(cstr); | |
| 16 | } |