summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authordjm <djm>2000-10-14 06:45:58 +0000
committerdjm <djm>2000-10-14 06:45:58 +0000
commit7fe877241c3174ffb15cf3fabb552eca76812a6e (patch)
tree792b52e9eafb84346d32f3cb8de9ba0a9db02d33 /scp.c
parentfa6c9c514f7c913b821558622d1d530cad5806e9 (diff)
downloadopenssh-7fe877241c3174ffb15cf3fabb552eca76812a6e.tar.gz
- (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);