diff src/protocols/msn/notification.c @ 10514:8f1316d77315

[gaim-migrate @ 11814] Prevent the login progress going backwards if MSN decides to throw an extra step into the login process. And a spelling fix. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 13 Jan 2005 19:37:34 +0000
parents 1a97d5e88d12
children bec9130b24d2
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Thu Jan 13 19:33:10 2005 +0000
+++ b/src/protocols/msn/notification.c	Thu Jan 13 19:37:34 2005 +0000
@@ -112,7 +112,13 @@
 	vers = g_strjoinv(" ", a);
 
 	if (!session->logged_in)
-		msn_session_set_login_step(session, MSN_LOGIN_STEP_HANDSHAKE);
+	{
+		if (session->login_step == MSN_LOGIN_STEP_START)
+			msn_session_set_login_step(session, MSN_LOGIN_STEP_HANDSHAKE);
+		else
+			msn_session_set_login_step(session, MSN_LOGIN_STEP_HANDSHAKE2);
+	}
+
 	msn_cmdproc_send(cmdproc, "VER", "%s", vers);
 
 	g_strfreev(a);