pidgin: 15773312: Add another possible reason for updating...

qulogic at pidgin.im qulogic at pidgin.im
Mon Mar 14 00:37:47 EDT 2011


----------------------------------------------------------------------
Revision: 1577331230de94bf1d081cb81f03ae1271cf8960
Parent:   46e40624a7592911d980aad01715da1621820bff
Author:   qulogic at pidgin.im
Date:     03/14/11 00:15:33
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1577331230de94bf1d081cb81f03ae1271cf8960

Changelog: 

Add another possible reason for updating the OIM token. This was found
in a log reported by someone in IRC.

Changes against parent 46e40624a7592911d980aad01715da1621820bff

  patched  libpurple/protocols/msn/oim.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/oim.c	1bd0549501e377295a489d9add53d593898c47e1
+++ libpurple/protocols/msn/oim.c	2a81eabd7aa57fccd6708da34d6b477abd06a967
@@ -175,7 +175,8 @@ msn_oim_request_cb(MsnSoapMessage *reque
 
 		if (faultcode_str) {
 			if (g_str_equal(faultcode_str, "q0:BadContextToken") ||
-				g_str_equal(faultcode_str, "AuthenticationFailed"))
+				g_str_equal(faultcode_str, "AuthenticationFailed") ||
+				g_str_equal(faultcode_str, "s:AuthenticationFailed"))
 				need_token_update = TRUE;
 			else if (g_str_equal(faultcode_str, "q0:AuthenticationFailed") &&
 				xmlnode_get_child(fault, "detail/RequiredAuthPolicy") != NULL)


More information about the Commits mailing list