getsockopt wants socklen_t

This commit is contained in:
Andrew Johnson committed 2009-04-24 17:06:54 +00:00
1 parent bff0841343
commit ecc300b8ff
1 file changed
+1 -1
+1 -1
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)