pidgin: bc9c4bb8: oscar: Add useful object debugging for #...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sat Oct 30 02:13:06 EDT 2010
----------------------------------------------------------------------
Revision: bc9c4bb89eb6d36c548b61d8b1e6b8952b9c4c0e
Parent: 526b69963df47630549fb41e56520c7824587f15
Author: darkrain42 at pidgin.im
Date: 10/30/10 02:00:50
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bc9c4bb89eb6d36c548b61d8b1e6b8952b9c4c0e
Changelog:
oscar: Add useful object debugging for #5927.
Won't actually fix anything.
Refs #5927
Changes against parent 526b69963df47630549fb41e56520c7824587f15
patched libpurple/protocols/oscar/flap_connection.c
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/flap_connection.c 94f0059ee746887f93e08f272164c11257944bd6
+++ libpurple/protocols/oscar/flap_connection.c ff38e3d380df83877bc388025950710ca79ee0cf
@@ -435,11 +435,16 @@ flap_connection_destroy_cb(gpointer data
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 @@ flap_connection_schedule_destroy(FlapCon
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);
More information about the Commits
mailing list