From 7a42c5d5b1c4d877fc00d5ba48e86e2a32964ff6 Mon Sep 17 00:00:00 2001 From: Sankar P Date: Tue, 2 Aug 2005 06:10:45 +0000 Subject: [PATCH] Added code to check the protocol while comparing two URLs. Fixes bug 2005-08-02 Sankar P * camel-groupwise-provider.c: (groupwise_url_equal) Added code to check the protocol while comparing two URLs. Fixes bug #312185 --- camel/providers/groupwise/ChangeLog | 6 ++++++ camel/providers/groupwise/camel-groupwise-provider.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index 2204c6c..27b4cd8 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,9 @@ +2005-08-02 Sankar P + + * camel-groupwise-provider.c: (groupwise_url_equal) + Added code to check the protocol while comparing two URLs. + Fixes bug #312185 + 2005-08-01 Parthasarathi Susarla * camel-groupwise-store.c: diff --git a/camel/providers/groupwise/camel-groupwise-provider.c b/camel/providers/groupwise/camel-groupwise-provider.c index 92f70c4..d4cd9d2 100644 --- a/camel/providers/groupwise/camel-groupwise-provider.c +++ b/camel/providers/groupwise/camel-groupwise-provider.c @@ -188,7 +188,8 @@ groupwise_url_equal (gconstpointer a, gconstpointer b) { const CamelURL *u1 = a, *u2 = b; - return check_equal (u1->user, u2->user) + return check_equal (u1->protocol, u2->protocol) + && check_equal (u1->user, u2->user) && check_equal (u1->authmech, u2->authmech) && check_equal (u1->host, u2->host) && u1->port == u2->port; -- 2.7.4