(fix) use PEEK when fetching attachments using ItemOperations

pull/210/head
Ludovic Marcotte 2016-06-01 08:52:56 -04:00
parent 74e639bf5d
commit 9a38db1667
1 changed files with 1 additions and 1 deletions

View File

@ -1440,7 +1440,7 @@ void handle_eas_terminate(int signum)
if ([[theResponse headerForKey: @"Content-Type"] isEqualToString:@"application/vnd.ms-sync.multipart"])
{
NSData *d;
d = [currentBodyPart fetchBLOB];
d = [currentBodyPart fetchBLOBWithPeek: YES];
[s appendFormat: @"<Part>%d</Part>", i+1];
[partLength addObject: [NSNumber numberWithInteger: [d length]]];