Mercurial > pidgin
view libgaim/plugins/mono/loader/debug-glue.c @ 15202:b8ae75fa8d67
[gaim-migrate @ 17992]
Attempt to salvage Oscar strings in an invalid encoding, as well as
print an error message.
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Thu, 14 Dec 2006 04:17:02 +0000 |
| parents | 60b1bc8dbf37 |
| children |
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); }
