From: Sean E. <sea...@us...> - 2002-08-29 03:22:24
|
Update of /cvsroot/gaim/gaim/src/protocols/yahoo In directory usw-pr-cvs1:/tmp/cvs-serv21403/src/protocols/yahoo Modified Files: yahoo.c Log Message: Some people are complaining that reporting version 6 is making them fail to log in. So let's use version 9. Index: yahoo.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- yahoo.c 29 Aug 2002 01:47:15 -0000 1.45 +++ yahoo.c 29 Aug 2002 03:22:21 -0000 1.46 @@ -87,6 +87,8 @@ #define USEROPT_PAGERPORT 4 #define YAHOO_PAGER_PORT 5050 +#define YAHOO_PROTO_VER 0x0900 + enum yahoo_service { /* these are easier to see in hex */ YAHOO_SERVICE_LOGON = 1, YAHOO_SERVICE_LOGOFF, @@ -346,7 +348,7 @@ data = g_malloc0(len + 1); memcpy(data + pos, "YMSG", 4); pos += 4; - pos += yahoo_put16(data + pos, 0x0600); + pos += yahoo_put16(data + pos, YAHOO_PROTO_VER); pos += yahoo_put16(data + pos, 0x0000); pos += yahoo_put16(data + pos, pktlen); pos += yahoo_put16(data + pos, pkt->service); |