Better attachments detection for text/calendar
[modest] / src / modest-account-mgr-helpers.c
index 9a96912..4f9eb66 100644 (file)
@@ -1188,6 +1188,8 @@ modest_account_mgr_account_is_multimailbox (ModestAccountMgr *mgr,
        gchar *transport_account;
        gboolean result = FALSE;
 
+       g_return_val_if_fail (account_name, FALSE);
+
        if (mmb_protocol)
                *mmb_protocol = NULL;