diff src/protocols/oscar/ft.c @ 9826:6f2a90c36ee2

[gaim-migrate @ 10697] Kevin pointed out that the error message for AIM when you couldn't send a message to someone could be better. So I made it better. Also renamed AIM_IMCHARSET_bleh to AIM_CHARSET_bleh, since they're used in direct connect stuff, too. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 22 Aug 2004 17:59:17 +0000
parents 30a812571a6b
children 9cafe038c95e
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c	Sun Aug 22 17:45:40 2004 +0000
+++ b/src/protocols/oscar/ft.c	Sun Aug 22 17:59:17 2004 +0000
@@ -322,7 +322,7 @@
  * @param conn The already-connected ODC connection.
  * @param msg Null-terminated string to send.
  * @param len The length of the message to send, including binary data.
- * @param encoding 0 for ascii, 2 for Unicode, 3 for ISO 8859-1.
+ * @param encoding See the AIM_CHARSET_* defines in aim.h
  * @param isawaymsg 0 if this is not an auto-response, 1 if it is.
  * @return Return 0 if no errors, otherwise return the error number.
  */
@@ -876,9 +876,7 @@
 	fh->lnameoffset = 0x1a;
 	fh->lsizeoffset = 0x10;
 
-	/* apparently 0 is ASCII, 2 is UCS-2 */
-	/* it is likely that 3 is ISO 8859-1 */
-	/* I think "nlanguage" might be the same thing as "subenc" in im.c */
+	/* These should be the same as charset and charsubset in ICBMs */
 	fh->nencode = 0x0000;
 	fh->nlanguage = 0x0000;
 #endif