pidgin: 466f38a9: Actually write a truncated version of th...

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Apr 6 06:31:14 EDT 2010


-----------------------------------------------------------------
Revision: 466f38a98b4f03139b06e14b4528e0489a2f0bce
Ancestor: 66e717addcde9a68da52753e7c5767e576c8816d
Author: markdoliner at pidgin.im
Date: 2010-04-06T10:25:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/466f38a98b4f03139b06e14b4528e0489a2f0bce

Modified files:
        libpurple/protocols/oscar/family_icq.c

ChangeLog: 

Actually write a truncated version of the password to the change password
request.  This is in response to an email to the devel list from Dylan Taft.

This "change password" thing doesn't work at all for me for ICQ.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_icq.c	2caa4ee744b182ae10da8b4791b318e72efcf90d
+++ libpurple/protocols/oscar/family_icq.c	7c3075fe5ac4a2161d72102227f77b1cda2801e0
@@ -177,7 +177,7 @@ int aim_icq_changepasswd(OscarData *od, 
 	byte_stream_putle16(&bs, snacid); /* eh. */
 	byte_stream_putle16(&bs, 0x042e); /* shrug. */
 	byte_stream_putle16(&bs, passwdlen+1);
-	byte_stream_putstr(&bs, passwd);
+	byte_stream_putraw(&bs, (const guint8 *)passwd, passwdlen);
 	byte_stream_putle8(&bs, '\0');
 
 	flap_connection_send_snac(od, conn, SNAC_FAMILY_ICQ, 0x0002, 0x0000, snacid, &bs);


More information about the Commits mailing list