Now pass the memory context when copying/moving folders.

This commit is contained in:
Ludovic Marcotte
2012-12-07 13:30:50 -05:00
parent e2d2212524
commit 4804337a01
5 changed files with 26 additions and 12 deletions

View File

@@ -1055,6 +1055,7 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
withNewName: (NSString *) newFolderName
isMove: (BOOL) isMove
isRecursive: (BOOL) isRecursive
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc;
NSURL *folderURL, *newFolderURL;
@@ -1150,7 +1151,8 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
moveCopyToFolder: newFolder
withNewName: nil
isMove: NO
isRecursive: YES];
isRecursive: YES
inMemCtx: memCtx];
}
}
}
@@ -1163,7 +1165,8 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
else
rc = [super moveCopyToFolder: targetFolder withNewName: newFolderName
isMove: isMove
isRecursive: isRecursive];
isRecursive: isRecursive
inMemCtx: memCtx];
return rc;
}