From aa24d5133e620ced3cc87467a537226bee555d9c Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 5 Oct 2012 09:54:22 -0400 Subject: [PATCH] Without the backend prefix, the mapistore backend context would never be found --- OpenChange/MAPIStoreContext.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index 43f385c8c..60fffa2fd 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -537,7 +537,7 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri) [mapping registerURL: childURL withID: mappingId]; contextId = 0; - mapistore_search_context_by_uri (connInfo->mstore_ctx, [folderURL UTF8String] + 7, + mapistore_search_context_by_uri (connInfo->mstore_ctx, [folderURL UTF8String], &contextId, &rootObject); owner = [userContext username]; mapistore_indexing_record_add_mid (connInfo->mstore_ctx, contextId,