summaryrefslogtreecommitdiff
path: root/clientserver.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-08-31 07:06:13 +0000
committerMartin Pool <mbp@samba.org>2001-08-31 07:06:13 +0000
commiteecd22ff7b041c6dc3cd5ff517aef64d2b69607c (patch)
treea414bec75c176d19b8eb2dfe75aa5bde9a6a657e /clientserver.c
parentadd7e8fb6ba143bfb3f8aa2ac1e2c01734ab8e81 (diff)
downloadrsync-eecd22ff7b041c6dc3cd5ff517aef64d2b69607c.tar.gz
Merge in the LIBSMB_PROG idea from samba, so that you can do
RSYNC_CONNECT_PROG='./rsync --daemon' ./rsync -vvvvvv localhost:: to test as a daemon without actually having to listen on a port.
Diffstat (limited to 'clientserver.c')
-rw-r--r--clientserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientserver.c b/clientserver.c
index 70c12e20..7dd72e9b 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -78,7 +78,7 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
if (!user) user = getenv("USER");
if (!user) user = getenv("LOGNAME");
- fd = open_socket_out(host, rsync_port, &socket_address);
+ fd = open_socket_out_wrapped (host, rsync_port, &socket_address);
if (fd == -1) {
exit_cleanup(RERR_SOCKETIO);
}