# HG changeset patch # User Sulabh Mahajan # Date 1212959328 0 # Node ID 193093790ada2d5b507ce270c9d99f011d7e3908 # Parent 9b16249bfbe6e6e067977d55e6e3c2a9a4e86998 Start idle at 1 min not 0 min and Probable description of service 0x07d1. diff -r 9b16249bfbe6 -r 193093790ada libpurple/protocols/yahoo/yahoo.c --- a/libpurple/protocols/yahoo/yahoo.c Sun Jun 08 17:40:04 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Sun Jun 08 21:08:48 2008 +0000 @@ -215,7 +215,7 @@ if (f->status == YAHOO_STATUS_IDLE) { /* Idle may have already been set in a more precise way in case 137 */ if (f->idle == 0) - f->idle = time(NULL); + f->idle = time(NULL) - 60; /*Start idle at 1 min*/ } else f->idle = 0; diff -r 9b16249bfbe6 -r 193093790ada libpurple/protocols/yahoo/yahoo_packet.h --- a/libpurple/protocols/yahoo/yahoo_packet.h Sun Jun 08 17:40:04 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_packet.h Sun Jun 08 21:08:48 2008 +0000 @@ -109,7 +109,7 @@ YAHOO_SERVICE_LIST_15 = 0xf1, YAHOO_SERVICE_WEBLOGIN = 0x0226, YAHOO_SERVICE_SMS_MSG = 0x02ea - /*YAHOO_SERVICE_DISCONNECT = 0x07d1 Sent by server asking us to disconnect*/ + /*YAHOO_SERVICE_DISCONNECT = 0x07d1 Server forces us to disconnect. Is sent with TCP FIN flag set*/ }; struct yahoo_pair {