diff options
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c index 9d7b022617..010ea12eec 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -1120,9 +1120,12 @@ non_hash (gconstpointer key) } static gint -non_equal (gconstpointer a, gconstpointer b) +non_equal (gconstpointer ap, gconstpointer bp) { - return TRUE; + const CamelURL *a = ap, *b = bp; + + return strcmp(a->protocol, "file") == 0 + && strcmp(a->protocol, b->protocol) == 0; } static void |