ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.22,1.23


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.22,1.23
Date: Fri, 07 Feb 2003 03:29:28 -0500

Update of /cvsroot/ayttm/ayttm/modules/msn2/libmsn2
In directory subversions:/tmp/cvs-serv11899/modules/msn2/libmsn2

Modified Files:
        msn_core.C 
Log Message:
Update error strings (thanks to http://www.hypothetic.org/docs/msn/ !)



Index: msn_core.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/libmsn2/msn_core.C,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- msn_core.C  3 Feb 2003 13:26:23 -0000       1.22
+++ msn_core.C  7 Feb 2003 08:29:26 -0000       1.23
@@ -70,24 +70,30 @@
   errors[207]=msn_permstring("Already logged in");
   errors[208]=msn_permstring("Invalid username");
   errors[209]=msn_permstring("Invalid friendly name");
-  errors[210]=msn_permstring("List full");
+  errors[210]=msn_permstring("User list full");
   errors[215]=msn_permstring("This user is already on this list or in this 
session");
   errors[216]=msn_permstring("Not on list");
+  errors[217]=msn_permstring("Contact is not online");
   errors[218]=msn_permstring("Already in this mode");
   errors[219]=msn_permstring("This user is already in the opposite list");
   errors[280]=msn_permstring("Switchboard server failed");
   errors[281]=msn_permstring("Transfer notification failed");
+  
   errors[300]=msn_permstring("Required fields missing");
   errors[302]=msn_permstring("Not logged in");
+  
   errors[500]=msn_permstring("Internal server error");
   errors[501]=msn_permstring("Database server error");
   errors[510]=msn_permstring("File operation failed at server");
   errors[520]=msn_permstring("Memory allocation failed on server");
+  errors[540]=msn_permstring("Wrong CHL value sent to server");
+  
   errors[600]=msn_permstring("The server is too busy");
   errors[601]=msn_permstring("The server is unavailable");
-  errors[602]=msn_permstring("A Peer Notification Server is down");
+  errors[602]=msn_permstring("Peer Notification Server is down");
   errors[603]=msn_permstring("Database connection failed");
-  errors[604]=msn_permstring("Server going down for maintenance");
+  errors[604]=msn_permstring("Server going down (mayday, time to reboot ;-)) 
for maintenance");
+  
   errors[707]=msn_permstring("Server failed to create connection");
   errors[711]=msn_permstring("Blocking write failed on server");
   errors[712]=msn_permstring("Session overload on server");
@@ -95,6 +101,7 @@
   errors[714]=msn_permstring("Too many sessions open");
   errors[715]=msn_permstring("Not expected (probably no permission to set 
friendlyname)");
   errors[717]=msn_permstring("Bad friend file on server");
+  
   errors[911]=msn_permstring("Authentication failed. Check that you typed your 
username (which has to contain the @domain.tld part) and password correctly.");
   errors[913]=msn_permstring("This action is not allowed while you are 
offline");
   errors[920]=msn_permstring("This server is not accepting new users");
@@ -104,7 +111,8 @@
 
 void msn_show_verbose_error(msnconn * conn, int errcode)
 {
-  if(errcode != 215 && errcode != 216 && errcode != 219) {
+  if(errcode != 215 && errcode != 216 && errcode != 219
+       && errcode != 224 && errcode != 225) {
     snprintf(buf, 1024, "An error has occurred while communicating with the 
MSN Messenger server: %s (code %d)", errors[errcode], errcode);
     ext_show_error(conn, buf);
   }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]