summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-24 04:24:12 +0000
committerMartin Pool <mbp@samba.org>2002-01-24 04:24:12 +0000
commit255810c0d6bf747e6942fa81aebf231903a5c48f (patch)
tree4ae02f7b16cdd0f2602d74c2b5c25193369d5bca
parent5d2640376e3b5b21f6049161b55baf6f4e2acce8 (diff)
downloadrsync-255810c0d6bf747e6942fa81aebf231903a5c48f.tar.gz
Doc.
Oops, connection program message was in the wrong place.
-rw-r--r--socket.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/socket.c b/socket.c
index 88228046..84d17f55 100644
--- a/socket.c
+++ b/socket.c
@@ -820,8 +820,8 @@ static int socketpair_tcp(int fd[2])
/**
* Run a program on a local tcp socket, so that we can talk to it's
- * stdin and stdout. This is used to launch ssh and similar
- * connection helper programs for rsync.
+ * stdin and stdout. This is used to fake a connection to a daemon
+ * for testing -- not for the normal case of running SSH.
*
* @return a socket which is attached to a subprocess running
* "prog". stdin and stdout are attached. stderr is left attached to
@@ -830,12 +830,6 @@ static int socketpair_tcp(int fd[2])
int sock_exec(const char *prog)
{
int fd[2];
-
- if (verbose > 0) {
- rprintf(FINFO, RSYNC_NAME
- ": open connection using \"%s\"\n",
- prog);
- }
if (socketpair_tcp(fd) != 0) {
rprintf (FERROR, RSYNC_NAME