Mercurial > pidgin
view libpurple/plugins/mono/loader/debug-glue.c @ 26567:d00a8111e479
Send XMPP keepalive pings to our server, not our bare JID.
jabberd doesn't seem to follow the same semantics for a non-existent 'to'
on a stanza; the response comes from our own full JID. Addressing the pings
to the server's JID should sidestep that problem.
| author | Paul Aurich <paul@darkrain42.org> |
|---|---|
| date | Wed, 15 Apr 2009 01:44:17 +0000 |
| parents | fd5dfd3c04b5 |
| children | a8cc50c2279f |
line wrap: on
line source
#include "mono-glue.h" #include "debug.h" void purple_debug_glue(int type, MonoString *cat, MonoString *str) { char *ccat; char *cstr; ccat = mono_string_to_utf8(cat); cstr = mono_string_to_utf8(str); purple_debug(type, ccat, "%s", cstr); g_free(ccat); g_free(cstr); }
