# HG changeset patch # User Mark Doliner # Date 1138599581 0 # Node ID 5926f73d54375298e85941b290c2a9adb2f868b1 # Parent e84e4e56f8f6610368e34fa63d41311e6931edb8 [gaim-migrate @ 15434] Set wants_to_die instead of clearing the password committer: Tailor Script diff -r e84e4e56f8f6 -r 5926f73d5437 src/protocols/novell/novell.c --- 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);