Mercurial > pidgin
changeset 3021:18f0e61a6caf
[gaim-migrate @ 3034]
Offline messages in Yahoo! and a typo noticed by Brendan Sergei.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 07 Mar 2002 20:57:16 +0000 |
parents | c3a29bd2a2d7 |
children | 5f6ddad12b1d |
files | TODO src/protocols/yahoo/yahoo.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/TODO Thu Mar 07 18:53:37 2002 +0000 +++ b/TODO Thu Mar 07 20:57:16 2002 +0000 @@ -114,7 +114,7 @@ Then, of course, are all the Bugs that need to be fixed - http://sourceforge.net/tracker/?atid=100235&group_id=235&func=broswe + http://sourceforge.net/tracker/?atid=100235&group_id=235&func=browse and the Feature Requests. SourceForge should really allow users to vote on feature requests and bugs..... http://sourceforge.net/tracker/?atid=350235&group_id=235&func=browse
--- a/src/protocols/yahoo/yahoo.c Thu Mar 07 18:53:37 2002 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Mar 07 20:57:16 2002 +0000 @@ -524,7 +524,7 @@ char *from = NULL; time_t tm = time(NULL); GSList *l = pkt->hash; - + while (l) { struct yahoo_pair *pair = l->data; if (pair->key == 4) @@ -536,7 +536,7 @@ l = l->next; } - if (pkt->status <= 1) { + if (pkt->status <= 1 || pkt->status == 5) { char *m; int i, j; strip_linefeed(msg); @@ -715,8 +715,8 @@ pkt = yahoo_packet_new(0, 0, 0); pkt->service = yahoo_get16(yd->rxqueue + pos); pos += 2; + pkt->status = yahoo_get32(yd->rxqueue + pos); pos += 4; debug_printf("Yahoo Service: 0x%02x Status: %d\n", pkt->service, pkt->status); - pkt->status = yahoo_get32(yd->rxqueue + pos); pos += 4; pkt->id = yahoo_get32(yd->rxqueue + pos); pos += 4; yahoo_packet_read(pkt, yd->rxqueue + pos, pktlen);