aboutsummaryrefslogtreecommitdiff
path: root/src/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcp.c')
-rw-r--r--src/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp.c b/src/tcp.c
index ea97320..6734dc0 100644
--- a/src/tcp.c
+++ b/src/tcp.c
@@ -418,7 +418,7 @@ static const char *tryconnect6(const char *remoteaddr, const char *remoteserv,
418 /* finally try connecting to remote address */ 418 /* finally try connecting to remote address */
419 err = socket_strerror(socket_connect(&tcp->sock, 419 err = socket_strerror(socket_connect(&tcp->sock,
420 (SA *) iterator->ai_addr, 420 (SA *) iterator->ai_addr,
421 iterator->ai_addrlen, tm)); 421 (socklen_t) iterator->ai_addrlen, tm));
422 /* if success, break out of loop */ 422 /* if success, break out of loop */
423 if (err == NULL) break; 423 if (err == NULL) break;
424 } 424 }