summaryrefslogtreecommitdiff
path: root/clientname.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-03-16 01:26:31 +0000
committerWayne Davison <wayned@samba.org>2004-03-16 01:26:31 +0000
commit16f72adc49774fe39021ba998abbb7eabd82cd2c (patch)
treeaaa3f21bb9b282d8c95f9a9433ecf245969caa38 /clientname.c
parent3d061653890e25fd95186d521a2d1dc5ea4d76e7 (diff)
downloadrsync-16f72adc49774fe39021ba998abbb7eabd82cd2c.tar.gz
rsync-16f72adc49774fe39021ba998abbb7eabd82cd2c.tar.bz2
rsync-16f72adc49774fe39021ba998abbb7eabd82cd2c.zip
Changed HAVE_SOCKADDR_SIN_LEN to HAVE_SOCKADDR_IN_LEN.
Diffstat (limited to 'clientname.c')
-rw-r--r--clientname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientname.c b/clientname.c
index 5dbaaf97..df921aa5 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);
-#if HAVE_SOCKADDR_SIN_LEN
+#if HAVE_SOCKADDR_IN_LEN
sin->sin_len = *ss_len;
#endif
sin->sin_port = sin6.sin6_port;