X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/893c4cc0564c00dd541f9ee612be5896a7894679..285fba07592e243a5b433c75aceeb8c1254d7649:/socket.c diff --git a/socket.c b/socket.c index 4ca87037..772bb925 100644 --- a/socket.c +++ b/socket.c @@ -698,7 +698,7 @@ static int socketpair_tcp(int fd[2]) goto failed; memset(&sock2, 0, sizeof sock2); -#ifdef HAVE_SOCKADDR_LEN +#if HAVE_SOCKADDR_IN_LEN sock2.sin_len = sizeof sock2; #endif sock2.sin_family = PF_INET;