diff src/protocols/oscar/ft.c @ 10990:8d74ae785a46

[gaim-migrate @ 12828] More compile warning getting rid of. Also fix the crash from my last batch of comile warning getting rid ofs. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Jun 2005 04:33:52 +0000
parents 33746d45bd0d
children 2a3568cbd8a6
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c	Thu Jun 09 04:15:22 2005 +0000
+++ b/src/protocols/oscar/ft.c	Thu Jun 09 04:33:52 2005 +0000
@@ -293,7 +293,7 @@
 
 	aimbs_put16(hdrbs, 0x0000);
 	aimbs_put16(hdrbs, 0x0000);
-	aimbs_putraw(hdrbs, sess->sn, strlen(sess->sn));
+	aimbs_putstr(hdrbs, sess->sn);
 
 	aim_bstream_setpos(hdrbs, 52); /* bleeehh */
 
@@ -368,7 +368,7 @@
 
 	aimbs_put16(hdrbs, 0x0000);
 	aimbs_put16(hdrbs, 0x0000);
-	aimbs_putraw(hdrbs, sess->sn, strlen(sess->sn));
+	aimbs_putstr(hdrbs, sess->sn);
 
 	aim_bstream_setpos(hdrbs, 52); /* bleeehh */