Merge pull request #162 from Zentyal/ejhernandez/fix-compilation-warn

oc: Fix compilation warning in MAPIStoreContext
This commit is contained in:
Jesús García Sáez 2015-07-27 13:41:36 +02:00
commit 72cbd9a45f

View file

@ -496,7 +496,7 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
{
[self logWithFormat: @"No id exist yet for '%@', requesting one", childURL];
ret = mapistore_indexing_get_new_folderID (connInfo->mstore_ctx, &mappingId);
if (ret == MAPI_E_SUCCESS)
if (ret == MAPISTORE_SUCCESS)
[mapping registerURL: childURL withID: mappingId];
else
[self errorWithFormat: @"Error trying to get new folder id (%d): %s",