# HG changeset patch # User John Bailey # Date 1270426177 0 # Node ID 911f51eb04fd868f0fdb2c3ffb659236fc19408b # Parent 29df7408df03c17713c12ab144bd631fe04ef39b Some debugging stuff intended to help me later. diff -r 29df7408df03 -r 911f51eb04fd libpurple/protocols/yahoo/libymsg.c --- a/libpurple/protocols/yahoo/libymsg.c Sun Apr 04 04:31:54 2010 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Mon Apr 05 00:09:37 2010 +0000 @@ -1785,6 +1785,11 @@ crumb = g_strdup(split_data[1] + strlen("crumb=")); yd->cookie_y = g_strdup(split_data[2] + strlen("Y=")); yd->cookie_t = g_strdup(split_data[3] + strlen("T=")); + + if(purple_debug_is_unsafe()) + purple_debug_info("yahoo", "Got crumb, Y cookie, and T " + "cookie:\ncrumb=%s\nY=%s\nT=%s\n", crumb, yd->cookie_y, + yd->cookie_t); } g_strfreev(split_data);