X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/893c4cc0564c00dd541f9ee612be5896a7894679..fd4893155d5226d32f350d15cc3e29beec677f39:/socket.c diff --git a/socket.c b/socket.c index 4ca87037..bf4f26bd 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_SIN_LEN sock2.sin_len = sizeof sock2; #endif sock2.sin_family = PF_INET;