From 2aa71cc8a3fdc94b925773ce5dc5cd3b0eced242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Garc=C3=ADa=20S=C3=A1ez?= Date: Fri, 20 Dec 2013 11:26:09 +0100 Subject: [PATCH] check ret value properly --- OpenChange/MAPIStoreContext.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index 093e3fb3a..fb248a35d 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -599,7 +599,7 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri) if (mapistore_indexing_get_new_folderIDs (connInfo->mstore_ctx, memCtx, max, &numbers) - != MAPI_E_SUCCESS || numbers->cValues != max) + != MAPISTORE_SUCCESS || numbers->cValues != max) abort (); for (count = 0; count < max; count++) {