# HG changeset patch # User Paul Aurich # Date 1288418450 0 # Node ID 7a41eb334a64f76437e5d01a4dc2c48c6a37ffb6 # Parent 361f32af5147b1c4eed3caed776cb224b6172a4f oscar: Add useful object debugging for #5927. Won't actually fix anything. Refs #5927 diff -r 361f32af5147 -r 7a41eb334a64 libpurple/protocols/oscar/flap_connection.c --- a/libpurple/protocols/oscar/flap_connection.c Fri Oct 29 20:05:52 2010 +0000 +++ b/libpurple/protocols/oscar/flap_connection.c Sat Oct 30 06:00:50 2010 +0000 @@ -435,11 +435,16 @@ aim_rxcallback_t userfunc; conn = data; + /* Explicitly added for debugging #5927. Don't re-order this, only + * consider removing it. + */ + purple_debug_info("oscar", "Destroying FLAP connection %p\n", conn); + od = conn->od; account = purple_connection_get_account(od->gc); - purple_debug_info("oscar", "Destroying oscar connection of " - "type 0x%04hx. Disconnect reason is %d\n", + purple_debug_info("oscar", "Destroying oscar connection (%p) of " + "type 0x%04hx. Disconnect reason is %d\n", conn, conn->type, conn->disconnect_reason); od->oscar_connections = g_slist_remove(od->oscar_connections, conn); @@ -575,7 +580,7 @@ return; purple_debug_info("oscar", "Scheduling destruction of FLAP " - "connection of type 0x%04hx\n", conn->type); + "connection %p of type 0x%04hx\n", conn, conn->type); conn->disconnect_reason = reason; g_free(conn->error_message); conn->error_message = g_strdup(error_message);