summaryrefslogtreecommitdiff
path: root/contrib/cvs/src/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/src/client.c')
-rw-r--r--contrib/cvs/src/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cvs/src/client.c b/contrib/cvs/src/client.c
index 1b7f7c82bf07..91c61a407573 100644
--- a/contrib/cvs/src/client.c
+++ b/contrib/cvs/src/client.c
@@ -4814,7 +4814,6 @@ start_rsh_server (root, to_server, from_server)
const char **p = argv;
*p++ = cvs_rsh;
- *p++ = root->hostname;
/* If the login names differ between client and server
* pass it on to rsh.
@@ -4825,6 +4824,7 @@ start_rsh_server (root, to_server, from_server)
*p++ = root->username;
}
+ *p++ = root->hostname;
*p++ = command;
*p++ = NULL;