aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-05-05 19:22:46 +0800
committerMilan Crha <mcrha@redhat.com>2011-05-05 19:22:46 +0800
commit19a9f3474019e83d51f2baee6537f5c71a208a2a (patch)
tree28574fb399e4691ac420546afad08f764fe7174f /mail/em-utils.c
parent3382355fb8c1ba535d8cc67701fdf17e1ea3ff3b (diff)
downloadgsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.tar
gsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.tar.gz
gsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.tar.bz2
gsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.tar.lz
gsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.tar.xz
gsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.tar.zst
gsoc2013-evolution-19a9f3474019e83d51f2baee6537f5c71a208a2a.zip
Bug #627952 - 'Local delivery' mbox's aren't read properly
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 9b21fda7ad..c20649c782 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -2443,7 +2443,7 @@ em_utils_is_local_delivery_mbox_file (CamelURL *url)
{
g_return_val_if_fail (url != NULL, FALSE);
- return g_str_has_prefix (url->protocol, "mbox:") &&
+ return g_str_equal (url->protocol, "mbox") &&
(url->path != NULL) &&
g_file_test (url->path, G_FILE_TEST_EXISTS) &&
!g_file_test (url->path, G_FILE_TEST_IS_DIR);