Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301c680
)
Patch from Jos Backus <josb@cncdsl.com> to use HAVE_SOCKADDR_LEN rather
author
David Dykstra
<dwd@samba.org>
Wed, 13 Feb 2002 18:45:17 +0000
(18:45 +0000)
committer
David Dykstra
<dwd@samba.org>
Wed, 13 Feb 2002 18:45:17 +0000
(18:45 +0000)
than HAVE_SOCK_SIN_LEN around use of sin_len. Correct usage was already
in place in clientname.c.
socket.c
patch
|
blob
|
blame
|
history
diff --git
a/socket.c
b/socket.c
index
9ac182d
..
344c42e
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-590,7
+590,7
@@
static int socketpair_tcp(int fd[2])
if ((listener = socket(PF_INET, SOCK_STREAM, 0)) == -1) goto failed;
memset(&sock2, 0, sizeof(sock2));
-#ifdef HAVE_SOCK
_SIN
_LEN
+#ifdef HAVE_SOCK
ADDR
_LEN
sock2.sin_len = sizeof(sock2);
#endif
sock2.sin_family = PF_INET;