getsockopt wants socklen_t

This commit is contained in:
Andrew Johnson
2009-04-24 17:06:54 +00:00
parent bff0841343
commit ecc300b8ff

View File

@@ -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)