changeset 29687:911f51eb04fd

Some debugging stuff intended to help me later.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 05 Apr 2010 00:09:37 +0000
parents 29df7408df03
children 9f482e11f066
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);