ObjFW  Check-in [5256e9acaf]

Overview
Comment:OFHTTPClient: Fix type mismatch on Windows
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5256e9acafdde709dc6bc7b6497a235bef01574550d462ab84ded67be848b96b
User & Date: js on 2020-01-19 15:37:44
Other Links: manifest | tags
Context
2020-01-24
03:03
runtime: Correctly handle AR pool push during pop check-in: e7f4f80e23 user: js tags: trunk
2020-01-19
15:37
OFHTTPClient: Fix type mismatch on Windows check-in: 5256e9acaf user: js tags: trunk
15:35
runtime: Add tlskey.m to SRCS_THREADS check-in: e5be33dfc3 user: js tags: trunk
Changes

Modified src/OFHTTPClient.m from [cc1af7fa6d] to [36ad6829ee].

972
973
974
975
976
977
978
979
980
981
982
983
984
985
986

	return _atEndOfStream;
}

- (int)fileDescriptorForReading
{
	if (_socket == nil)
		return INVALID_SOCKET;

	return _socket.fileDescriptorForReading;
}

- (bool)hasDataInReadBuffer
{
	return (super.hasDataInReadBuffer || _socket.hasDataInReadBuffer);







|







972
973
974
975
976
977
978
979
980
981
982
983
984
985
986

	return _atEndOfStream;
}

- (int)fileDescriptorForReading
{
	if (_socket == nil)
		return -1;

	return _socket.fileDescriptorForReading;
}

- (bool)hasDataInReadBuffer
{
	return (super.hasDataInReadBuffer || _socket.hasDataInReadBuffer);