[evolution-data-server/gnome-2-32] Bug #639165 - maildir expunge not working as expected (cherry picked from commit e7201c8163317afce06



commit c57982be54de8703c2392cbd73a56fa123603373
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jan 12 16:36:56 2011 +0100

    Bug #639165 - maildir expunge not working as expected
    (cherry picked from commit e7201c8163317afce06c973e38df829e68869acd)

 camel/providers/local/camel-local-provider.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/local/camel-local-provider.c b/camel/providers/local/camel-local-provider.c
index c853d84..1eb11fa 100644
--- a/camel/providers/local/camel-local-provider.c
+++ b/camel/providers/local/camel-local-provider.c
@@ -164,7 +164,7 @@ local_url_hash (gconstpointer v)
 	const CamelURL *u = v;
 	guint hash = 0;
 
-#define ADD_HASH(s) if (s) hash ^= g_str_hash (s);
+#define ADD_HASH(s) if (s && *s) hash ^= g_str_hash (s);
 
 	ADD_HASH (u->protocol);
 	ADD_HASH (u->user);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]