[evolution-mapi] Bug #627255 - Folder deletion doesn't work well



commit 583f86922fa4eea2ced6373bd0afb9643cb19830
Author: Punit Jain <jpunit novell com>
Date:   Wed Aug 25 14:11:21 2010 +0200

    Bug #627255 - Folder deletion doesn't work well

 src/libexchangemapi/exchange-mapi-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-connection.c b/src/libexchangemapi/exchange-mapi-connection.c
index 5b7b8e8..ab42dd2 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -2039,7 +2039,7 @@ exchange_mapi_connection_remove_folder (ExchangeMapiConnection *conn, mapi_id_t
 	for (l = exchange_mapi_connection_peek_folders_list (conn); l && !folder; l = l->next) {
 		folder = l->data;
 
-		if (!folder || !folder->folder_id)
+		if (!folder || !folder->folder_id || folder->folder_id != fid)
 			folder = NULL;
 	}
 



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