From: <the...@us...> - 2006-11-05 23:30:24
|
Revision: 17674 http://svn.sourceforge.net/gaim/?rev=17674&view=rev Author: thekingant Date: 2006-11-05 15:22:41 -0800 (Sun, 05 Nov 2006) Log Message: ----------- Only clear out the password when the server tells us it is incorrect if the user is not saving passwords for this account Modified Paths: -------------- trunk/libgaim/protocols/oscar/oscar.c Modified: trunk/libgaim/protocols/oscar/oscar.c =================================================================== --- trunk/libgaim/protocols/oscar/oscar.c 2006-11-05 17:37:09 UTC (rev 17673) +++ trunk/libgaim/protocols/oscar/oscar.c 2006-11-05 23:22:41 UTC (rev 17674) @@ -1284,7 +1284,8 @@ case 0x05: /* Incorrect password */ gc->wants_to_die = TRUE; - gaim_account_set_password(account, NULL); + if (!gaim_account_get_remember_password(account)) + gaim_account_set_password(account, NULL); gaim_connection_error(gc, _("Incorrect password.")); break; case 0x11: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |