getsockopt wants socklen_t
This commit is contained in:
@@ -30,7 +30,7 @@ int connectWithTimeout (int sfd,
|
||||
struct timeval *timeout)
|
||||
{
|
||||
struct timeval sv;
|
||||
int svlen = sizeof sv;
|
||||
socklen_t svlen = sizeof sv;
|
||||
int ret;
|
||||
|
||||
if (!timeout)
|
||||
|
||||
Reference in New Issue
Block a user