[patch] net-im/sim-im-devel

mitrohin a.s. swp at swp.pp.ru
Thu Jul 10 07:21:54 UTC 2008


recent icq protocol changes broke sim. this patch based on pidgin fix.

/swp
-------------- next part --------------
--- plugins/icq/icqlogin.cpp.orig	2008-04-28 19:06:15.000000000 +0700
+++ plugins/icq/icqlogin.cpp	2008-07-10 12:50:25.000000000 +0700
@@ -203,7 +203,7 @@
         socket()->writeBuffer().tlv(0x0001, uin);
         socket()->writeBuffer().tlv(0x0002, pswd.data(), pswd.size());
         socket()->writeBuffer().tlv(0x0003, "ICQBasic");  // ID String, currently ICQ 5.1 (21.08.2006)
-        socket()->writeBuffer().tlv(0x0016, 0x010A);      // ID Number
+        socket()->writeBuffer().tlv(0x0016, 0x010B);      // ID Number
         socket()->writeBuffer().tlv(0x0017, 0x0014);      // major
         socket()->writeBuffer().tlv(0x0018, 0x0034);      // minor
         socket()->writeBuffer().tlv(0x0019, 0x0000);      // lesser


More information about the freebsd-ports mailing list