diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:23:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:23:02 +0100 |
commit | 3be6258912939fb538d7bcb492483ae2ab52391b (patch) | |
tree | 8626d8f99114d8d389f460ef6467513a4465b661 /source3/lib | |
parent | 14fdc1c5cd4ca0b3f88b2d407d40ba5be7218085 (diff) | |
download | samba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.gz samba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.bz2 samba-3be6258912939fb538d7bcb492483ae2ab52391b.zip |
lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/sock_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sock_exec.c b/source3/lib/sock_exec.c index 419d60d05c..403b38b188 100644 --- a/source3/lib/sock_exec.c +++ b/source3/lib/sock_exec.c @@ -70,7 +70,7 @@ static int socketpair_tcp(int fd[2]) close(listener); if (connect_done == 0) { - if (connect(fd[1], (struct sockaddr *)&sock, salen) != 0 + if (connect(fd[1], (struct sockaddr *)&sock, socklen) != 0 && errno != EISCONN) goto failed; } |