summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@nil.im>2020-01-19 16:37:44 +0100
committerJonathan Schleifer <js@nil.im>2020-01-19 16:37:44 +0100
commitd7f825d4d5d2997d97f90f926adbcffd325fdc0b (patch)
treeade7110e4223427781d7ea720b4a05f8ee716c02
parentbdb87e9f9276db01aca9bf724d8069a8bf23d002 (diff)
OFHTTPClient: Fix type mismatch on WindowsHEADmaster
-rw-r--r--src/OFHTTPClient.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OFHTTPClient.m b/src/OFHTTPClient.m
index 6822572a..840a8a40 100644
--- a/src/OFHTTPClient.m
+++ b/src/OFHTTPClient.m
@@ -976,7 +976,7 @@ defaultShouldFollow(of_http_request_method_t method, int statusCode)
- (int)fileDescriptorForReading
{
if (_socket == nil)
- return INVALID_SOCKET;
+ return -1;
return _socket.fileDescriptorForReading;
}