diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-04-24 04:48:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-04-24 04:48:05 +0800 |
commit | 9b73ae5c7d2c016a3b1f07b1040355063b32814b (patch) | |
tree | a48d54626fcfcf00e9f96be00dce495c83514637 /mail/em-utils.c | |
parent | ca691310d85f7a266d070cb004d3534215ac47d0 (diff) | |
download | gsoc2013-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.c | 6 |
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 (); |