diff src/protocols/oscar/locate.c @ 10998:9a397c858639

[gaim-migrate @ 12840] *** empty log message *** committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Jun 2005 05:17:11 +0000
parents 1798ad0be460
children 1d58cc6c4552
line wrap: on
line diff
--- a/src/protocols/oscar/locate.c	Thu Jun 09 05:12:22 2005 +0000
+++ b/src/protocols/oscar/locate.c	Thu Jun 09 05:17:11 2005 +0000
@@ -975,8 +975,8 @@
  * 
  */
 faim_export int aim_locate_setprofile(aim_session_t *sess,
-				  const char *profile_encoding, const char *profile, const int profile_len,
-				  const char *awaymsg_encoding, const char *awaymsg, const int awaymsg_len)
+				  const char *profile_encoding, const fu8_t *profile, const int profile_len,
+				  const char *awaymsg_encoding, const fu8_t *awaymsg, const int awaymsg_len)
 {
 	aim_conn_t *conn;
 	aim_frame_t *fr;
@@ -1099,7 +1099,7 @@
 	aim_putsnac(&fr->data, 0x0002, 0x0005, 0x0000, snacid);
 	aimbs_put16(&fr->data, infotype);
 	aimbs_put8(&fr->data, strlen(sn));
-	aimbs_putraw(&fr->data, sn, strlen(sn));
+	aimbs_putstr(&fr->data, sn);
 
 	aim_tx_enqueue(sess, fr);