diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/local/camel-local-provider.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/local/camel-local-provider.c b/camel/providers/local/camel-local-provider.c index d4e638b9bf..ef17726988 100644 --- a/camel/providers/local/camel-local-provider.c +++ b/camel/providers/local/camel-local-provider.c @@ -156,8 +156,11 @@ static int local_url_equal(const void *v, const void *v2) { const CamelURL *u1 = v, *u2 = v2; + char *p1, *p2; - return check_equal(get_can_path(u1->path), get_can_path(u2->path)) + p1 = get_can_path(u1->path); + p2 = get_can_path(u2->path); + return check_equal(p1, p2) && check_equal(u1->protocol, u2->protocol) && check_equal(u1->user, u2->user) && check_equal(u1->authmech, u2->authmech) |