mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-09 02:41:46 +00:00
(fix) use PEEK when fetching attachments using ItemOperations
This commit is contained in:
1 parent
c773717f05
commit
804ebaf8b9
1 file changed
+1
-1
@@ -1438,7 +1438,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]]];
|
||||
|
||||
Reference in new issue
Block a user