aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_get.c')
-rw-r--r--src/testcurl/test_get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/test_get.c b/src/testcurl/test_get.c
index 3795db2a..cbe0e258 100644
--- a/src/testcurl/test_get.c
+++ b/src/testcurl/test_get.c
@@ -401,7 +401,7 @@ testUnknownPortGet (int poll_flag)
401 if (di == NULL) 401 if (di == NULL)
402 return 65536; 402 return 65536;
403 403
404 if (0 != getsockname(di->listen_fd, &addr, &addr_len)) 404 if (0 != getsockname(di->listen_fd, (struct sockaddr *) &addr, &addr_len))
405 return 131072; 405 return 131072;
406 406
407 if (addr.sin_family != AF_INET) 407 if (addr.sin_family != AF_INET)