aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d7ce20d457..f38cdb3a1d 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -416,8 +416,8 @@ format_url (CamelService *service)
static send_info_t
get_receive_type (CamelService *service)
{
- CamelProvider *provider;
CamelURL *url;
+ CamelProvider *provider;
gboolean is_local_delivery;
url = camel_service_new_camel_url (service);
@@ -1102,7 +1102,7 @@ receive_update_got_store (CamelStore *store,
folder_cache = e_mail_session_get_folder_cache (
E_MAIL_SESSION (info->session));
- if (store) {
+ if (store != NULL) {
mail_folder_cache_note_store (
folder_cache, store, info->cancellable,
receive_update_got_folderinfo, info);