# HG changeset patch # User Mark Doliner # Date 1118294231 0 # Node ID 9a397c8586399c4a054886b3c0c41c91962d7248 # Parent 137ce63826759cd163adb2a84560d1ef00707c34 [gaim-migrate @ 12840] *** empty log message *** committer: Tailor Script diff -r 137ce6382675 -r 9a397c858639 src/protocols/oscar/aim.h --- a/src/protocols/oscar/aim.h Thu Jun 09 05:12:22 2005 +0000 +++ b/src/protocols/oscar/aim.h Thu Jun 09 05:17:11 2005 +0000 @@ -1088,7 +1088,7 @@ faim_export void aim_locate_dorequest(aim_session_t *sess); /* 0x0002 */ faim_export int aim_locate_reqrights(aim_session_t *sess); -/* 0x0004 */ 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); +/* 0x0004 */ faim_export int aim_locate_setprofile(aim_session_t *sess, const char *profile_encoding, const fu8_t *profile, const int profile_len, const char *awaymsg_encoding, const fu8_t *awaymsg, const int awaymsg_len); /* 0x0004 */ faim_export int aim_locate_setcaps(aim_session_t *sess, fu32_t caps); /* 0x0005 */ faim_export int aim_locate_getinfo(aim_session_t *sess, const char *, fu16_t); /* 0x0009 */ faim_export int aim_locate_setdirinfo(aim_session_t *sess, const char *first, const char *middle, const char *last, const char *maiden, const char *nickname, const char *street, const char *city, const char *state, const char *zip, int country, fu16_t privacy); diff -r 137ce6382675 -r 9a397c858639 src/protocols/oscar/locate.c --- 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);