changeset 21594:f5874552b8d5

Unable to connect is not an authentication failure, even if it happens during authentication. So now we don't claim it is, and Pidgin will attempt reconnecting.
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 19 Nov 2007 13:18:03 +0000
parents b1f36f7652c2
children 5f85d0781bee
files libpurple/protocols/msn/nexus.c libpurple/protocols/msnp9/nexus.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/nexus.c	Mon Nov 19 08:07:11 2007 +0000
+++ b/libpurple/protocols/msn/nexus.c	Mon Nov 19 13:18:03 2007 +0000
@@ -67,7 +67,7 @@
 	xmlnode *node;
 
 	if (resp == NULL) {
-		msn_session_set_error(session, MSN_ERROR_AUTH, _("Windows Live ID authentication:Unable to connect"));
+		msn_session_set_error(session, MSN_ERROR_SERVCONN, _("Windows Live ID authentication:Unable to connect"));
 		return;
 	}
 
--- a/libpurple/protocols/msnp9/nexus.c	Mon Nov 19 08:07:11 2007 +0000
+++ b/libpurple/protocols/msnp9/nexus.c	Mon Nov 19 13:18:03 2007 +0000
@@ -143,7 +143,7 @@
 	session = nexus->session;
 	g_return_if_fail(session != NULL);
 
-	msn_session_set_error(session, MSN_ERROR_AUTH, _("Unable to connect"));
+	msn_session_set_error(session, MSN_ERROR_SERVCONN, _("Unable to connect"));
 	/* the above line will result in nexus being destroyed, so we don't want
 	 * to destroy it here, or we'd crash */
 }