Skip to content

Commit

Permalink
Fixing no data success callback parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Aug 15, 2011
1 parent d22ed88 commit 4f9c1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AFNetworking/AFJSONRequestOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ + (id)operationWithRequest:(NSURLRequest *)urlRequest
}
} else if ([data length] == 0) {
if (success) {
success(nil);
success(request, response, nil);
}
} else {
dispatch_async(json_request_operation_processing_queue(), ^(void) {
Expand Down

0 comments on commit 4f9c1a1

Please sign in to comment.