adium.1-3: 8961facc: The last piece of the DEAR GOD WHO LET Z...

zacw at adiumx.com zacw at adiumx.com
Thu Jul 9 17:20:27 EDT 2009


-----------------------------------------------------------------
Revision: 8961facc120e7015f123fae36e361aac60240217
Ancestor: b27d88f90b41b63665b9a3e02cdf046f00aee134
Author: zacw at adiumx.com
Date: 2009-07-09T21:14:59
Branch: im.pidgin.adium.1-3
URL: http://d.pidgin.im/viewmtn/revision/info/8961facc120e7015f123fae36e361aac60240217

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

ChangeLog: 

The last piece of the DEAR GOD WHO LET ZAC INTO MONOTONE OH MAN WHY ARE THERE 3 HEADS saga being undone.


-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	b55146a11a55b1e209d5d93e51ea44e0561730d3
+++ libpurple/protocols/yahoo/yahoo.c	d024cadc2b6baa33e9f462384dffac20ad308cf8
@@ -1567,9 +1567,9 @@ static void yahoo_auth16_stage1_cb(Purpl
 #else
 		while (split_data[++totalelements] != NULL);	
 #endif
-		if(totalelements >= 2) {
-			response_no = strtol(split_data[0], NULL, 10);
-			token = g_strdup(split_data[1] + strlen("ymsgr="));
+		if(totalelements >= 5) {
+			response_no = strtol(split_data[1], NULL, 10);
+			token = g_strdup(split_data[2] + strlen("ymsgr="));
 		}
 
 		g_strfreev(split_data);


More information about the Commits mailing list