pidgin.2.5.6: 51dfebdf: Darnit, one more MSN fix:

qulogic at pidgin.im qulogic at pidgin.im
Sun May 3 20:05:33 EDT 2009


-----------------------------------------------------------------
Revision: 51dfebdf21d01fa23e8b114f87fd157ae623fe61
Ancestor: abb84c1c4b82e86d843545f23bd4846805db7cb8
Author: qulogic at pidgin.im
Date: 2009-05-04T00:03:20
Branch: im.pidgin.pidgin.2.5.6
URL: http://d.pidgin.im/viewmtn/revision/info/51dfebdf21d01fa23e8b114f87fd157ae623fe61

Modified files:
        libpurple/protocols/msn/notification.c

ChangeLog: 

Darnit, one more MSN fix:
Also check whether the ADL/FQY count is zero when we've received an error
FQY, since the ADL OK will never happen if that was the last result.

applied changes from 3bb16ff558e43f80f9044fd6d1ab7d66adaad761
             through 233c28248ecd717704ccb1932748bdf97b679cf1

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	b1f079bab30468bbc7e2bb5e3f308834cced2b6f
+++ libpurple/protocols/msn/notification.c	de6a67e356d52a2fac3cf0207737f0f6db9a3dfd
@@ -619,7 +619,11 @@ update_contact_network(MsnSession *sessi
 		purple_debug_warning("msn",
 		                     "Ignoring user %s about which server knows nothing.\n",
 		                     passport);
-		session->adl_fqy--;
+		/* Decrement the count for unknown results so that we'll continue login.
+		   Also, need to finish the login process here as well, because ADL OK
+		   will not be called. */
+		if (--session->adl_fqy == 0)
+			msn_session_finish_login(session);
 		return;
 	}
 


More information about the Commits mailing list