diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2009-05-04 00:03:20 +0000 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2009-05-04 00:03:20 +0000 |
commit | c29c440c43067f54602759bde14d269425620053 (patch) | |
tree | 60747912d7cd78dbd4684bf42be76b8dfb72085f | |
parent | c236362587dff7cc627ffedab082442a38879cd0 (diff) | |
download | pidgin-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.c | 6 |
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; } |