summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2009-05-04 00:03:20 +0000
committerElliott Sales de Andrade <qulogic@pidgin.im>2009-05-04 00:03:20 +0000
commitc29c440c43067f54602759bde14d269425620053 (patch)
tree60747912d7cd78dbd4684bf42be76b8dfb72085f
parentc236362587dff7cc627ffedab082442a38879cd0 (diff)
downloadpidgin-c29c440c43067f54602759bde14d269425620053.tar.gz
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
-rw-r--r--libpurple/protocols/msn/notification.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpurple/protocols/msn/notification.c b/libpurple/protocols/msn/notification.c
index c06adf5baf..d0624b9667 100644
--- a/libpurple/protocols/msn/notification.c
+++ b/libpurple/protocols/msn/notification.c
@@ -619,7 +619,11 @@ update_contact_network(MsnSession *session, const char *passport, MsnNetwork net
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;
}