# HG changeset patch # User Mark Doliner # Date 1270549539 0 # Node ID c2155cf648f9084c96994c748604fb327ed3e953 # Parent 6797736dbe371ba63d86af21000fce86e485b1ec 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. diff -r 6797736dbe37 -r c2155cf648f9 libpurple/protocols/oscar/family_icq.c --- a/libpurple/protocols/oscar/family_icq.c Tue Apr 06 09:52:27 2010 +0000 +++ b/libpurple/protocols/oscar/family_icq.c Tue Apr 06 10:25:39 2010 +0000 @@ -177,7 +177,7 @@ 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);