evolution-data-server r9750 - branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi



Author: jjohnny
Date: Tue Nov 11 22:58:47 2008
New Revision: 9750
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9750&view=rev

Log:
camel/mapi : is_system_folder, return false if null.

Modified:
   branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/ChangeLog
   branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-store.c

Modified: branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-store.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-store.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-store.c	Tue Nov 11 22:58:47 2008
@@ -396,6 +396,9 @@
 {
 	CamelMapiStorePrivate *priv = mapi_store->priv;
 
+	if (!(fid && *fid)) 
+		return FALSE;
+
 	return (g_hash_table_find (priv->default_folders, hash_check_fid_presence, fid) != NULL);
 }
 



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