Mercurial > pidgin.yaz
diff src/protocols/yahoo/yahoo.c @ 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 | 1143524a2eaf |
line wrap: on
line diff
--- 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);