# HG changeset patch # User Sean Egan # Date 1015534636 0 # Node ID 18f0e61a6cafc7e99355e869576d11021e0b514e # Parent c3a29bd2a2d719ceaf23bb357d8b677a82ef1d6e [gaim-migrate @ 3034] Offline messages in Yahoo! and a typo noticed by Brendan Sergei. committer: Tailor Script diff -r c3a29bd2a2d7 -r 18f0e61a6caf TODO --- 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 diff -r c3a29bd2a2d7 -r 18f0e61a6caf src/protocols/yahoo/yahoo.c --- 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);