# HG changeset patch # User Mark Doliner # Date 1199519355 0 # Node ID 2fd32731ff57d8ff677444cbd40a79f2f81a1289 # Parent 1c60783cfcd91eddd2cad660b5a11ba11187d2bb Minor comment changes diff -r 1c60783cfcd9 -r 2fd32731ff57 libpurple/protocols/oscar/family_auth.c --- a/libpurple/protocols/oscar/family_auth.c Sat Jan 05 07:47:22 2008 +0000 +++ b/libpurple/protocols/oscar/family_auth.c Sat Jan 05 07:49:15 2008 +0000 @@ -196,6 +196,10 @@ * unknown= 0x0000008b * serverstore = 0x01 * + * @param truncate_pass Truncate the password to 8 characters. This + * usually happens for AOL accounts. We are told that we + * should truncate it if the 0x0017/0x0007 SNAC contains + * a TLV of type 0x0026 with data 0x0000. */ int aim_send_login(OscarData *od, FlapConnection *conn, const char *sn, const char *password, gboolean truncate_pass, ClientInfo *ci, const char *key) @@ -522,8 +526,8 @@ /* * If the truncate_pass TLV exists then we should truncate the - * user's password to 8 characters. This flag is sent when you - * try to log in with an AOL user's screen name. + * user's password to 8 characters. This flag is sent to us + * when logging in with an AOL user's screen name. */ truncate_pass = aim_tlv_gettlv(tlvlist, 0x0026, 1) != NULL;