* fix small logic error
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 25 Jan 2008 16:56:05 +0000 (16:56 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 25 Jan 2008 16:56:05 +0000 (16:56 +0000)
pmo-trunk-r4092

src/modest-ui-actions.c

index afb7736..664e742 100644 (file)
@@ -184,7 +184,7 @@ remote_folder_is_pop (const TnyFolderStore *folder)
                 account = tny_folder_get_account(TNY_FOLDER(folder));
         }
 
-       if (!account && !TNY_IS_ACCOUNT(account)) {
+       if (!TNY_IS_ACCOUNT(account)) {
                g_warning ("%s: could not get account", __FUNCTION__);
                return FALSE;
        }