[evolution-data-server] Fix remove maildir folder



commit 6f3fc75dd03592c3e0b7b2d785f1ecadffdd1f98
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Mon Oct 25 14:11:39 2010 +0530

    Fix remove maildir folder

 camel/providers/local/camel-maildir-store.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index fd65245..fc2dc33 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -514,8 +514,8 @@ scan_dirs (CamelStore *store,
 		else
 			short_name++;
 				
-		if (strcmp (topfi->full_name, ".") != 0 && 
-					!g_str_has_prefix (topfi->full_name, full_name)) {
+		if ((strcmp (topfi->full_name, ".") != 0 && !g_str_has_prefix (topfi->full_name, full_name)) 
+				|| !strcmp (topfi->full_name, full_name)) {
 			
 			g_free (full_name);
 			continue;



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