Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit 971ce1f

Browse files
committedNov 26, 2018
fixed travis
1 parent 3a31980 commit 971ce1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎libpoolprotocols/stratum/EthStratumClient.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ void EthStratumClient::init_socket()
149149
m_socket->native_handle(), SOL_SOCKET, SO_SNDTIMEO, (const char*)&timeout, sizeof(timeout));
150150
#else
151151
timeval tv{
152-
static_cast<__suseconds_t>(keepAlive / 1000),
153-
static_cast<__suseconds_t>(keepAlive % 1000)};
152+
static_cast<suseconds_t>(keepAlive / 1000),
153+
static_cast<suseconds_t>(keepAlive % 1000)};
154154
setsockopt(m_socket->native_handle(), SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));
155155
setsockopt(m_socket->native_handle(), SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv));
156156
#endif

0 commit comments

Comments
 (0)
This repository has been archived.