changeset 13072:5926f73d5437

[gaim-migrate @ 15434] Set wants_to_die instead of clearing the password committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 30 Jan 2006 05:39:41 +0000
parents e84e4e56f8f6
children 97537d564d35
files src/protocols/novell/novell.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/novell/novell.c	Mon Jan 30 05:33:48 2006 +0000
+++ b/src/protocols/novell/novell.c	Mon Jan 30 05:39:41 2006 +0000
@@ -124,13 +124,13 @@
 		char *err = g_strdup_printf(_("Login failed (%s)."),
 					    nm_error_to_string (ret_code));
 
-		/* Clear the password if it was invalid ... don't want to retry
-		 * and get ourselves locked out.
+		/* Don't attempt to auto-reconnect if our password
+		 * was invalid.
 		 */
 		if (ret_code == NMERR_AUTHENTICATION_FAILED ||
 			ret_code == NMERR_CREDENTIALS_MISSING ||
 			ret_code == NMERR_PASSWORD_INVALID) {
-			gaim_account_set_password((GaimAccount*)user->client_data, NULL);
+			gc->wants_to_die = TRUE;
 		}
 		gaim_connection_error(gc, err);
 		g_free(err);