Skip to content

Commit c9563db

Browse files
committed
Fixed GCDWebServerBodyReaderCompletionBlock not allowing null data
Fixed swisspol#434
1 parent cd1eea5 commit c9563db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GCDWebServer/Core/GCDWebServerResponse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
3333
* The GCDWebServerBodyReaderCompletionBlock is passed by GCDWebServer to the
3434
* GCDWebServerBodyReader object when reading data from it asynchronously.
3535
*/
36-
typedef void (^GCDWebServerBodyReaderCompletionBlock)(NSData* data, NSError* _Nullable error);
36+
typedef void (^GCDWebServerBodyReaderCompletionBlock)(NSData* _Nullable data, NSError* _Nullable error);
3737

3838
/**
3939
* This protocol is used by the GCDWebServerConnection to communicate with

0 commit comments

Comments
 (0)