# HG changeset patch # User Paul Aurich # Date 1298171034 0 # Node ID e67cd3f2ebb60a8ce04c497c36f8d222133d3b4f # Parent b79dfdbb94e2a9e42ca7c8c4de38eb26d1219b5b silc: Debug messages. This code (after looking at the relevant functions in libsilc) seems *very* fragile. As in, it will break if you have more than one account at a time. I think this fragility is what's crashing chf. Refs #13247 diff -r b79dfdbb94e2 -r e67cd3f2ebb6 libpurple/protocols/silc/silc.c --- a/libpurple/protocols/silc/silc.c Sun Feb 20 02:31:28 2011 +0000 +++ b/libpurple/protocols/silc/silc.c Sun Feb 20 03:03:54 2011 +0000 @@ -654,6 +654,8 @@ { SilcPurple sg = (SilcPurple)context; + purple_debug_info("silc", "Finalizing SilcPurple %p\n", sg); + silc_client_stop(sg->client, NULL, NULL); silc_client_free(sg->client); if (sg->sha1hash) @@ -714,6 +716,8 @@ #endif /* __SILC_TOOLKIT_VERSION */ purple_timeout_remove(sg->scheduler); + + purple_debug_info("silc", "Scheduling destruction of SilcPurple %p\n", sg); purple_timeout_add(1, (GSourceFunc)silcpurple_close_final, sg); }