diff options
author | Wayne Davison <wayned@samba.org> | 2004-02-27 07:22:40 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-02-27 07:22:40 +0000 |
commit | ac7aa92290cf67c4e9541c02e10b9f232928c588 (patch) | |
tree | ac36ae8593515037618b9371fbe9aa4cb679bcbb /clientname.c | |
parent | 0042f81894b84a15cea2d49968b5fc5d32f0a181 (diff) | |
download | rsync-ac7aa92290cf67c4e9541c02e10b9f232928c588.tar.gz rsync-ac7aa92290cf67c4e9541c02e10b9f232928c588.tar.bz2 rsync-ac7aa92290cf67c4e9541c02e10b9f232928c588.zip |
Use new HAVE_SOCKADDR_SIN_LEN define (replaces HAVE_SOCKADDR_LEN).
Diffstat (limited to 'clientname.c')
-rw-r--r-- | clientname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientname.c b/clientname.c index 661d4ab6..5dbaaf97 100644 --- a/clientname.c +++ b/clientname.c @@ -195,7 +195,7 @@ void client_sockaddr(int fd, memset(sin, 0, sizeof(*sin)); sin->sin_family = AF_INET; *ss_len = sizeof(struct sockaddr_in); -#ifdef HAVE_SOCKADDR_LEN +#if HAVE_SOCKADDR_SIN_LEN sin->sin_len = *ss_len; #endif sin->sin_port = sin6.sin6_port; |