Mercurial > pidgin
comparison src/protocols/oscar/service.c @ 5837:a48c338dff6c
[gaim-migrate @ 6268]
Possibly fixed some misbehaving typing notification or buddy icon
problems, but probably not the gaim-keeps-resending-icon-to-trillian
thing (it's more of a trillian bug, really).
Fixed a compile warning.
Made the availablemsg not show up when people are no longer available.
I got my excercise today by running from my computer to the mac
downstairs and then back up here 20 times testing this.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 12 Jun 2003 04:20:08 +0000 |
parents | 09f7f23dc83a |
children | dbed8c87f750 |
comparison
equal
deleted
inserted
replaced
5836:09f7f23dc83a | 5837:a48c338dff6c |
---|---|
950 static int aim_parse_extstatus(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) | 950 static int aim_parse_extstatus(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) |
951 { | 951 { |
952 int ret = 0; | 952 int ret = 0; |
953 aim_rxcallback_t userfunc; | 953 aim_rxcallback_t userfunc; |
954 char *msg = NULL; | 954 char *msg = NULL; |
955 fu16_t id; | 955 fu16_t type; |
956 | 956 fu8_t number, length; |
957 aimbs_get16(bs); /* 0x0002 */ | 957 |
958 aimbs_get16(bs); /* 0x0404 or 0x0407? Maybe 0x04 and then a length? */ | 958 type = aimbs_get16(bs); /* 0x0002 */ |
959 msg = aimbs_getstr(bs, aimbs_get16(bs)); | 959 number = aimbs_get8(bs); /* 0x04 */ |
960 length = aimbs_get8(bs); /* the first length */ | |
961 msg = aimbs_getstr(bs, aimbs_get16(bs)); /* the second length is just for the message */ | |
960 | 962 |
961 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) | 963 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) |
962 ret = userfunc(sess, rx, msg); | 964 ret = userfunc(sess, rx, msg); |
963 | 965 |
964 free(msg); | 966 free(msg); |