Added code to check the protocol while comparing two URLs. Fixes bug
authorSankar P <psankar@novell.com>
Tue, 2 Aug 2005 06:10:45 +0000 (06:10 +0000)
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>
Tue, 2 Aug 2005 06:10:45 +0000 (06:10 +0000)
2005-08-02  Sankar P  <psankar@novell.com>

* camel-groupwise-provider.c: (groupwise_url_equal)
Added code to check the protocol while comparing two URLs.
Fixes bug #312185

camel/providers/groupwise/ChangeLog
camel/providers/groupwise/camel-groupwise-provider.c

index 2204c6c..27b4cd8 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-02  Sankar P  <psankar@novell.com>
+       
+       * 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 <sparthasarathi@novell.com>
        
        * camel-groupwise-store.c:
index 92f70c4..d4cd9d2 100644 (file)
@@ -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;