pidgin: 96a58aab: Some debugging stuff intended to help me...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Wed Apr 7 23:26:10 EDT 2010


-----------------------------------------------------------------
Revision: 96a58aab0fc68fb1a623a36cdf18c211c3d480c1
Ancestor: 3675047f72f66174d95018d40a0100ea0bc87f8c
Author: rekkanoryo at pidgin.im
Date: 2010-04-05T00:09:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/96a58aab0fc68fb1a623a36cdf18c211c3d480c1

Modified files:
        libpurple/protocols/yahoo/libymsg.c

ChangeLog: 

Some debugging stuff intended to help me later.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	0cc0f96588d7fa02689816752e58546acef4b0ce
+++ libpurple/protocols/yahoo/libymsg.c	8ff938b71917db1b171a19fa6f5a151b50a7e7c8
@@ -1785,6 +1785,11 @@ static void yahoo_auth16_stage2(PurpleUt
 			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);


More information about the Commits mailing list