changeset 11155:92453bf9b86b

[gaim-migrate @ 13237] Fix non-ascii IMs in oscar in HEAD. My bad committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 24 Jul 2005 20:41:53 +0000
parents 0d58a17095db
children 339b61819edc
files src/protocols/oscar/im.c src/protocols/oscar/oscar.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/im.c	Sun Jul 24 19:45:59 2005 +0000
+++ b/src/protocols/oscar/im.c	Sun Jul 24 20:41:53 2005 +0000
@@ -340,7 +340,7 @@
 		aimbs_put16(&fr->data, args->charsubset);
 
 		/* Message.  Not terminated */
-		aimbs_putstr(&fr->data, args->msg);
+		aimbs_putraw(&fr->data, args->msg, args->msglen);
 	}
 
 	/* Set the Autoresponse flag */
--- a/src/protocols/oscar/oscar.c	Sun Jul 24 19:45:59 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Jul 24 20:41:53 2005 +0000
@@ -4,7 +4,7 @@
  * Some code copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
  * Some code copyright (C) 1999-2001, Eric Warmenhoven
  * Some code copyright (C) 2001-2003, Sean Egan
- * Some code copyright (C) 2001-2004, Mark Doliner <thekingant@users.sourceforge.net>
+ * Some code copyright (C) 2001-2005, Mark Doliner <thekingant@users.sourceforge.net>
  * Some code copyright (C) 2005, Jonathan Clark <ardentlygnarly@users.sourceforge.net>
  *
  * Most libfaim code copyright (C) 1998-2001 Adam Fritzler <afritz@auk.cx>