getsockopt wants socklen_t
This commit is contained in:
1 parent
bff0841343
commit
ecc300b8ff
1 file changed
+1
-1
@@ -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