libpurple/protocols/msn/notification.c

branch
release-2.5.6
changeset 25743
8b6fa5957edf
parent 25741
b7a82e0ce3c1
child 25746
e97bb5964b19
--- a/libpurple/protocols/msn/notification.c	Mon May 04 00:02:04 2009 +0000
+++ b/libpurple/protocols/msn/notification.c	Mon May 04 00:03:20 2009 +0000
@@ -619,7 +619,11 @@
 		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;
 	}
 

mercurial