diff src/protocols/msn/error.c @ 8255:4de49af535b3

[gaim-migrate @ 8978] Patch from Stu Tomlinson: - Adds error messages for 2 new error codes (from http://www.hypothetic.org/docs/msn/reference/error_list.php) - Changes "Internal Server Error" to "Service Temporarily Unavailable" (to match what the official client reports) - Fixes indentation for msn/error.c error codes - Fixes a small bug when a user disallows mobile pages (Gaim was only updating the buddy status when a user allowed mobile pages) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 14 Feb 2004 20:45:28 +0000
parents 0cacce490486
children 06f57183e29f
line wrap: on
line diff
--- a/src/protocols/msn/error.c	Sat Feb 14 15:11:17 2004 +0000
+++ b/src/protocols/msn/error.c	Sat Feb 14 20:45:28 2004 +0000
@@ -108,11 +108,14 @@
 			break;
 
 		case 500:
-			g_snprintf(msg, sizeof(msg), _("Internal server error"));
+			g_snprintf(msg, sizeof(msg), _("Service Temporarily Unavailable"));
 			break;
 		case 501:
 			g_snprintf(msg, sizeof(msg), _("Database server error"));
 			break;
+		case 502:
+			g_snprintf(msg, sizeof(msg), _("Command disabled"));
+			break;
 		case 510:
 			g_snprintf(msg, sizeof(msg), _("File operation error"));
 			break;
@@ -197,17 +200,20 @@
 		case 916:
 			g_snprintf(msg, sizeof(msg), _("Server unavailable"));
 			break;
-        case 920:
+		case 920:
 			g_snprintf(msg, sizeof(msg), _("Not accepting new users"));
 			break;
-        case 923:
+		case 923:
 			g_snprintf(msg, sizeof(msg),
 					   _("Kids Passport without parental consent"));
 			break;
-        case 924:
+		case 924:
 			g_snprintf(msg, sizeof(msg),
 					   _("Passport account not yet verified"));
 			break;
+		case 928:
+			g_snprintf(msg, sizeof(msg), _("Bad ticket"));
+			break;
 
 		default:
 			g_snprintf(msg, sizeof(msg), _("Unknown Error Code %d"), type);