aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-03 23:50:58 +0800
committerDan Winship <danw@src.gnome.org>2001-10-03 23:50:58 +0800
commit28d74c0920cc3ffa08cf64e6468b9f10a57eec8e (patch)
tree71340d592185930ec44224401b70dc3f38e191f2 /camel/providers
parent7cf899d922a8f1f891a29940fc0d3c7688e1b7d2 (diff)
downloadgsoc2013-evolution-28d74c0920cc3ffa08cf64e6468b9f10a57eec8e.tar.gz
gsoc2013-evolution-28d74c0920cc3ffa08cf64e6468b9f10a57eec8e.tar.zst
gsoc2013-evolution-28d74c0920cc3ffa08cf64e6468b9f10a57eec8e.zip
Strange are the ways of alloca. Fixes 11543.
* providers/local/camel-local-provider.c (local_url_equal): Strange are the ways of alloca. Fixes 11543. svn path=/trunk/; revision=13375
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-local-provider.c5
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)