summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-10-14 17:45:58 +1100
committerDamien Miller <djm@mindrot.org>2000-10-14 17:45:58 +1100
commite4041c9d81e55cedcc4567f3840116900b5db85e (patch)
tree51cd2c2704ed204c8e7daefcde9e51e4a2eefe14 /scp.c
parent874d77bb134a21a5cf625956b60173376a993ba8 (diff)
- (djm) Fix scp user@host handling
- (djm) Don't clobber ssh_prng_cmds on install
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 40cf7296..8d5a251b 100644
--- a/scp.c
+++ b/scp.c
@@ -179,7 +179,7 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc)
args.list[0] = ssh_program;
if (remuser != NULL)
- addargs("-l %s", remuser);
+ addargs("-l%s", remuser);
addargs("%s", host);
addargs("%s", cmd);