* fix small copy-paste bug: forget the password for the transport account
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 14 Apr 2008 11:57:32 +0000 (11:57 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 14 Apr 2008 11:57:32 +0000 (11:57 +0000)
pmo-trunk-r4409

src/modest-tny-account-store.c

index db9ac1d..8891dba 100644 (file)
@@ -1799,7 +1799,7 @@ on_account_removed (ModestAccountMgr *acc_mgr,
                TnyFolder *outbox = NULL;
 
                /* Forget any cached password for the account */
                TnyFolder *outbox = NULL;
 
                /* Forget any cached password for the account */
-               forget_password_in_memory (self, tny_account_get_id (store_account));
+               forget_password_in_memory (self, tny_account_get_id (transport_account));
 
                /* Remove it from the list of accounts and notify the
                   observers. Do not need to wait for account
 
                /* Remove it from the list of accounts and notify the
                   observers. Do not need to wait for account