Update of /cvsroot/gaim/gaim/src/protocols/yahoo
In directory usw-pr-cvs1:/tmp/cvs-serv23523/src/protocols/yahoo
Modified Files:
yahoo.c
Log Message:
Offline messages in Yahoo! and a typo noticed by Brendan Sergei.
Index: yahoo.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- yahoo.c 7 Mar 2002 18:53:37 -0000 1.36
+++ yahoo.c 7 Mar 2002 20:57:16 -0000 1.37
@@ -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;
- debug_printf("Yahoo Service: 0x%02x Status: %d\n", pkt->service, pkt->status);
pkt->status = yahoo_get32(yd->rxqueue + pos); pos += 4;
+ debug_printf("Yahoo Service: 0x%02x Status: %d\n", pkt->service, pkt->status);
pkt->id = yahoo_get32(yd->rxqueue + pos); pos += 4;
yahoo_packet_read(pkt, yd->rxqueue + pos, pktlen);
|