Now handle mem context when saving messages and removed useless debugging.

This commit is contained in:
Ludovic Marcotte committed 2013-03-13 15:04:11 -04:00
1 parent 15e082896c
commit 93f9a7273e
25 files changed
+89 -85

No files matched your search

+2 -2
View File
@@ -51,7 +51,7 @@
return [self getYes: data inMemCtx: memCtx];
}
- (enum mapistore_error) saveMessage
- (enum mapistore_error) saveMessage: (TALLOC_CTX *) memCtx;
{
enum mapistore_error rc;
MAPIStoreContext *context;
@@ -60,7 +60,7 @@
context = [self context];
ownerUser = [[self userContext] sogoUser];
if ([[context activeUser] isEqual: ownerUser])
rc = [super saveMessage];
rc = [super saveMessage: memCtx];
else
rc = MAPISTORE_ERR_DENIED;