Mercurial > pidgin
view libpurple/plugins/mono/loader/debug-glue.c @ 15564:45d3dd67fa13
With the refactoring I did, it's now possible to reach timestamp_cb_common
with conv == NULL. It happens with system logs. I've reworked the code
accordingly to avoid an assertion failure.
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Mon, 05 Feb 2007 05:28:54 +0000 |
| parents | 5fe8042783c1 |
| children | 32c366eeeb99 |
line wrap: on
line source
#include "mono-glue.h" #include "debug.h" void gaim_debug_glue(int type, MonoString *cat, MonoString *str) { char *ccat; char *cstr; ccat = mono_string_to_utf8(cat); cstr = mono_string_to_utf8(str); gaim_debug(type, ccat, cstr); g_free(ccat); g_free(cstr); }
