diff libpurple/protocols/qq/sendqueue.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 5eb52c076a2f
children 51dbe83ebbd3
line wrap: on
line diff
--- a/libpurple/protocols/qq/sendqueue.c	Sun Oct 14 12:19:20 2007 +0000
+++ b/libpurple/protocols/qq/sendqueue.c	Sun Oct 14 21:08:42 2007 +0000
@@ -121,7 +121,7 @@
 				if (qd->logged_in) {
 					purple_debug(PURPLE_DEBUG_ERROR, "QQ", "Connection lost!\n");
 					purple_connection_error_reason(gc,
-						PURPLE_REASON_NETWORK_ERROR, _("Connection lost"));
+						PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Connection lost"));
 					qd->logged_in = FALSE;
 				}
 				p->resend_times = -1;
@@ -130,7 +130,7 @@
 			case QQ_CMD_REQUEST_LOGIN_TOKEN:
 				if (!qd->logged_in)	/* cancel login progress */
 					purple_connection_error_reason(gc,
-						PURPLE_REASON_NETWORK_ERROR, _("Login failed, no reply"));
+						PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Login failed, no reply"));
 				p->resend_times = -1;
 				break;
 			default:{