changeset 10997:137ce6382675

[gaim-migrate @ 12839] Sorry for all these emails committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Jun 2005 05:12:22 +0000
parents acbd980d6179
children 9a397c858639
files src/protocols/oscar/icq.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/icq.c	Thu Jun 09 05:08:51 2005 +0000
+++ b/src/protocols/oscar/icq.c	Thu Jun 09 05:12:22 2005 +0000
@@ -201,7 +201,7 @@
 	aimbs_putle16(&fr->data, snacid); /* eh. */
 	aimbs_putle16(&fr->data, 0x042e); /* shrug. */
 	aimbs_putle16(&fr->data, passwdlen+1);
-	aimbs_putraw(&fr->data, passwd, passwdlen);
+	aimbs_putstr(&fr->data, passwd);
 	aimbs_putle8(&fr->data, '\0');
 
 	aim_tx_enqueue(sess, fr);
@@ -367,7 +367,7 @@
 	aimbs_putle16(&fr->data, snacid); /* eh. */
 	aimbs_putle16(&fr->data, 0x0998); /* shrug. */
 	aimbs_putle16(&fr->data, strlen(xml) + 1);
-	aimbs_putraw(&fr->data, xml, strlen(xml) + 1);
+	aimbs_putraw(&fr->data, (fu8_t *)xml, strlen(xml) + 1);
 
 	aim_tx_enqueue(sess, fr);
 
@@ -458,7 +458,7 @@
 
 	aimbs_put16(&fr->data, 0x0000);
 	aimbs_put16(&fr->data, xmllen);
-	aimbs_putraw(&fr->data, xml, xmllen);
+	aimbs_putstr(&fr->data, xml);
 
 	aim_tx_enqueue(sess, fr);