From 257e9186463ac0013a429d4c8240f18b594734cf Mon Sep 17 00:00:00 2001 From: Fred Nicolson Date: Thu, 16 Aug 2018 11:42:22 +0100 Subject: [PATCH] Fix Windows build error --- src/SSLSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SSLSocket.cpp b/src/SSLSocket.cpp index 3259bb7..eea11e6 100644 --- a/src/SSLSocket.cpp +++ b/src/SSLSocket.cpp @@ -212,7 +212,7 @@ namespace fr //Apply receive timeout DWORD timeout_dword = static_cast(get_receive_timeout()); - setsockopt(socket_descriptor, SOL_SOCKET, SO_RCVTIMEO, (const char*)&timeout_dword, sizeof timeout_dword); + setsockopt(get_socket_descriptor(), SOL_SOCKET, SO_RCVTIMEO, (const char*)&timeout_dword, sizeof timeout_dword); #endif } }