changeset 3467:79e0d2f8ad2b

[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 <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 29 Aug 2002 03:22:21 +0000
parents 7a3f16a375a5
children 3122c2eec3e8
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);