diff libpurple/protocols/novell/novell.c @ 20816:efa448405f3d

Remove explicit setting of wants_to_die from prpls.
author Will Thompson <will.thompson@collabora.co.uk>
date Tue, 09 Oct 2007 13:42:15 +0000
parents 682543aced31
children ba41f2a60253
line wrap: on
line diff
--- a/libpurple/protocols/novell/novell.c	Tue Oct 09 13:36:08 2007 +0000
+++ b/libpurple/protocols/novell/novell.c	Tue Oct 09 13:42:15 2007 +0000
@@ -133,7 +133,6 @@
 				 */
 				if (!purple_account_get_remember_password(gc->account))
 					purple_account_set_password(gc->account, NULL);
-				gc->wants_to_die = TRUE;
 				reason = PURPLE_REASON_AUTHENTICATION_FAILED;
 				break;
 			default:
@@ -2019,7 +2018,6 @@
 	gc = purple_account_get_connection(account);
 	if (gc)
 	{
-		gc->wants_to_die = TRUE; /* we don't want to reconnect in this case */
 		if (!purple_account_get_remember_password(account))
 			purple_account_set_password(account, NULL);
 		purple_connection_error_reason (gc, PURPLE_REASON_NAME_IN_USE,
@@ -2178,7 +2176,6 @@
 		 */
 
 		/* ...but for now just error out with a nice message. */
-		gc->wants_to_die = TRUE;
 		purple_connection_error_reason (gc, PURPLE_REASON_INVALID_SETTINGS,
 			_("Unable to connect to server. Please enter the "
 			  "address of the server you wish to connect to."));
@@ -2207,7 +2204,6 @@
 													  user->conn->addr, user->conn->port,
 													  novell_ssl_connected_cb, novell_ssl_connect_error, gc);
 		if (user->conn->ssl_conn->data == NULL) {
-			gc->wants_to_die = TRUE;
 			purple_connection_error_reason (gc,
 				PURPLE_REASON_NO_SSL_SUPPORT,
 				_("Error. SSL support is not installed."));