aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-04-24 04:48:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-04-24 04:48:05 +0800
commit9b73ae5c7d2c016a3b1f07b1040355063b32814b (patch)
treea48d54626fcfcf00e9f96be00dce495c83514637 /mail/em-utils.c
parentca691310d85f7a266d070cb004d3534215ac47d0 (diff)
downloadgsoc2013-evolution-9b73ae5c7d2c016a3b1f07b1040355063b32814b.tar.gz
gsoc2013-evolution-9b73ae5c7d2c016a3b1f07b1040355063b32814b.tar.zst
gsoc2013-evolution-9b73ae5c7d2c016a3b1f07b1040355063b32814b.zip
Miscellaneous bug fixes.
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 34562bb44d..a98359e12f 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1402,7 +1402,7 @@ em_utils_folder_is_templates (CamelFolder *folder, const char *uri)
if (folder == local_templates_folder)
return TRUE;
- if (uri == NULL)
+ if (folder == NULL || uri == NULL)
return FALSE;
accounts = e_get_account_list ();
@@ -1453,7 +1453,7 @@ em_utils_folder_is_drafts(CamelFolder *folder, const char *uri)
if (folder == local_drafts_folder)
return TRUE;
- if (uri == NULL)
+ if (folder == NULL || uri == NULL)
return FALSE;
accounts = e_get_account_list ();
@@ -1504,7 +1504,7 @@ em_utils_folder_is_sent(CamelFolder *folder, const char *uri)
if (folder == local_sent_folder)
return TRUE;
- if (uri == NULL)
+ if (folder == NULL || uri == NULL)
return FALSE;
accounts = e_get_account_list ();