Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/oscar.h @ 17236:c72295a65f7a
Fix signing on to AIM with an AOL screen name with a password of more
than 8 characters. For someone AOL passwords get truncated to 8
characters. No idea why, but at least they send us a flag to let us
know that the password should be truncated.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 23 May 2007 06:24:15 +0000 |
parents | 1560f28cb854 |
children | f80f7e1047be |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.h Tue May 22 13:00:00 2007 +0000 +++ b/libpurple/protocols/oscar/oscar.h Wed May 23 06:24:15 2007 +0000 @@ -274,6 +274,10 @@ "us", "en", \ } +/* + * TODO: Use PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, and + * PURPLE_MICRO_VERSION? Or did that break things? + */ #define CLIENTINFO_PURPLE { \ "Purple/" VERSION, \ 0x0109, \ @@ -574,7 +578,7 @@ void aim_clientready(OscarData *od, FlapConnection *conn); int aim_request_login(OscarData *od, FlapConnection *conn, const char *sn); -int aim_send_login(OscarData *, FlapConnection *, const char *, const char *, ClientInfo *, const char *key); +int aim_send_login(OscarData *od, FlapConnection *conn, const char *sn, const char *password, gboolean truncate_pass, ClientInfo *ci, const char *key); /* 0x000b */ int aim_auth_securid_send(OscarData *od, const char *securid); void aim_cleansnacs(OscarData *, int maxage);