pidgin: 7f396ae5: Complement the condition, fix the error ...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Sat Jul 4 02:05:57 EDT 2009


-----------------------------------------------------------------
Revision: 7f396ae5ae1a07562f3822bfdf32a5b71b737970
Ancestor: 5668e3b116ab205b1a3270d6aff7fca0332bccc6
Author: sulabh at soc.pidgin.im
Date: 2009-07-04T05:56:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7f396ae5ae1a07562f3822bfdf32a5b71b737970

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

Complement the condition, fix the error I made in the last commit. 

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	ac978ff489f24a789117e76500f58837197a8139
+++ libpurple/protocols/yahoo/yahoo.c	53f27387835d0b2e288e3ba30d14d71b38dbf092
@@ -1792,7 +1792,7 @@ static void yahoo_auth16_stage1_cb(Purpl
 				case 1212:
 					/* Password incorrect */
 					/* Set password to NULL. Avoids account locking. Brings dialog to enter password if clicked on Re-enable account */
-					if (purple_account_get_remember_password(purple_connection_get_account(gc)))
+					if (!purple_account_get_remember_password(purple_connection_get_account(gc)))
 						purple_account_set_password(purple_connection_get_account(gc), NULL);
 					error_reason = g_strdup(_("Incorrect Password"));
 					error = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;


More information about the Commits mailing list