aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-account-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index a705671fe2..cac2c33395 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -692,11 +692,10 @@ set_oof_info ()
account = exchange_operations_get_exchange_account ();
- if (!exchange_oof_set (account, oof_data->state, oof_data->message)) {
+ if (account && !exchange_oof_set (account, oof_data->state, oof_data->message)) {
e_error_run (NULL, ERROR_DOMAIN ":state-update-error", NULL);
}
-
}
static void