You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by lg...@apache.org on 2015/02/09 15:35:32 UTC
svn commit: r1658411 -
/chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m
Author: lgross
Date: Mon Feb 9 14:35:31 2015
New Revision: 1658411
URL: http://svn.apache.org/r1658411
Log:
Fixed bug introduced with previous commit: Response not returned by CMISHttpRequest
Modified:
chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m
Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m?rev=1658411&r1=1658410&r2=1658411&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m Mon Feb 9 14:35:31 2015
@@ -218,7 +218,7 @@ NSString * const kCMISExceptionVersionin
void (^completionBlock)(CMISHttpResponse *httpResponse, NSError *error);
completionBlock = self.completionBlock;
self.completionBlock = nil; // Prevent multiple execution if method on this request gets called inside completion block
- completionBlock(nil, cmisError);
+ completionBlock(httpResponse, cmisError);
});
}