# HG changeset patch # User Sean Egan # Date 1030591341 0 # Node ID 79e0d2f8ad2b9c0fb79d69dfefc581f564893a51 # Parent 7a3f16a375a5fe3415fe4e74a9a7dc3a336814c3 [gaim-migrate @ 3517] Some people are complaining that reporting version 6 is making them fail to log in. So let's use version 9. committer: Tailor Script diff -r 7a3f16a375a5 -r 79e0d2f8ad2b src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Thu Aug 29 01:47:15 2002 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Aug 29 03:22:21 2002 +0000 @@ -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);