(fix) use PEEK when fetching attachments using ItemOperations
parent
74e639bf5d
commit
9a38db1667
|
@ -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]]];
|
||||
|
|
Loading…
Reference in New Issue