Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
[Issue #5] Fixing progress block for get operations
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Aug 12, 2012
1 parent 9d1274b commit f092a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFAmazonS3Client.m
Expand Up @@ -169,7 +169,7 @@ - (void)getObjectWithPath:(NSString *)path
}
}];

[requestOperation setUploadProgressBlock:progress];
[requestOperation setDownloadProgressBlock:progress];

[self enqueueHTTPRequestOperation:requestOperation];
}
Expand All @@ -191,7 +191,7 @@ - (void)getObjectWithPath:(NSString *)path
}
}];

[requestOperation setUploadProgressBlock:progress];
[requestOperation setDownloadProgressBlock:progress];
[requestOperation setOutputStream:outputStream];

[self enqueueHTTPRequestOperation:requestOperation];
Expand Down

0 comments on commit f092a1e

Please sign in to comment.