Permalink
Browse files

[Issue #5] Fixing progress block for get operations

  • Loading branch information...
1 parent 9d1274b commit f092a1e960e628b07b1bfc2cc24a0d66eff55280 @mattt mattt committed Aug 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 AFAmazonS3Client.m
View
@@ -169,7 +169,7 @@ - (void)getObjectWithPath:(NSString *)path
}
}];
- [requestOperation setUploadProgressBlock:progress];
+ [requestOperation setDownloadProgressBlock:progress];
[self enqueueHTTPRequestOperation:requestOperation];
}
@@ -191,7 +191,7 @@ - (void)getObjectWithPath:(NSString *)path
}
}];
- [requestOperation setUploadProgressBlock:progress];
+ [requestOperation setDownloadProgressBlock:progress];
[requestOperation setOutputStream:outputStream];
[self enqueueHTTPRequestOperation:requestOperation];

0 comments on commit f092a1e

Please sign in to comment.