Mon, 30 Jan 2006 05:39:41 +0000
[gaim-migrate @ 15434]
Set wants_to_die instead of clearing the password
| src/protocols/novell/novell.c | file | annotate | diff | comparison | revisions |
--- 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);