diff libpurple/protocols/oscar/flap_connection.c @ 21358:ba41f2a60253

Rename: * PurpleDisconnectReason to PurpleConnectionError; * elements of that enum from PURPLE_REASON_* to PURPLE_CONNECTION_ERROR_*; * purple_connection_reason_is_fatal to purple_connection_error_is_fatal.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 14 Oct 2007 21:08:42 +0000
parents efa448405f3d
children 38cc722159ff
line wrap: on
line diff
--- a/libpurple/protocols/oscar/flap_connection.c	Sun Oct 14 12:19:20 2007 +0000
+++ b/libpurple/protocols/oscar/flap_connection.c	Sun Oct 14 21:08:42 2007 +0000
@@ -380,10 +380,10 @@
 	{
 		/* No more FLAP connections!  Sign off this PurpleConnection! */
 		gchar *tmp;
-		PurpleDisconnectReason reason = PURPLE_REASON_NETWORK_ERROR;
+		PurpleConnectionError reason = PURPLE_CONNECTION_ERROR_NETWORK_ERROR;
 
 		if (conn->disconnect_code == 0x0001) {
-			reason = PURPLE_REASON_NAME_IN_USE;
+			reason = PURPLE_CONNECTION_ERROR_NAME_IN_USE;
 			tmp = g_strdup(_("You have signed on from another location."));
 			if (!purple_account_get_remember_password(account))
 				purple_account_set_password(account, NULL);