Blob Blame History Raw
From: Roger <roger@jikos.cz>
Date: Sun, 23 Mar 2008 18:57:06 +0000 (+0100)
Subject: Bug #78 - Change YIM protocol version
X-Git-Url: http://repo.or.cz/w/centerim.git?a=commitdiff_plain;h=da88544c803542f60f881a72c61946021ffa66de

Bug #78 - Change YIM protocol version
---

diff --git a/libyahoo2/libyahoo2.c b/libyahoo2/libyahoo2.c
index 4a8b8c3..b2741ee 100644
--- a/libyahoo2/libyahoo2.c
+++ b/libyahoo2/libyahoo2.c
@@ -748,7 +748,7 @@ static void yahoo_send_packet(struct yahoo_input_data *yid, struct yahoo_packet
 	data = y_new0(unsigned char, len + 1);
 
 	memcpy(data + pos, "YMSG", 4); pos += 4;
-	pos += yahoo_put16(data + pos, 0x0a00);
+	pos += yahoo_put16(data + pos, 0x000f);
 	pos += yahoo_put16(data + pos, 0x0000);
 	pos += yahoo_put16(data + pos, pktlen + extra_pad);
 	pos += yahoo_put16(data + pos, pkt->service);