diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-10-14 10:07:22 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-10-14 10:07:22 +0000 |
commit | 761eca2ecb3d7c2ee52e4b50076628ba4632f525 (patch) | |
tree | 04256ea2ee72632d2755ede9842117d189e80cfd /usr.bin/ssh | |
parent | abb3e526941125b1f7146020359d9c147eb49487 (diff) |
remove spaces from arguments; from djm@mindrot.org
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/scp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c index fc879933682..119080a5cdc 100644 --- a/usr.bin/ssh/scp.c +++ b/usr.bin/ssh/scp.c @@ -75,7 +75,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: scp.c,v 1.41 2000/10/11 20:03:27 markus Exp $"); +RCSID("$OpenBSD: scp.c,v 1.42 2000/10/14 10:07:21 markus Exp $"); #include "ssh.h" #include "xmalloc.h" @@ -169,7 +169,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); @@ -256,13 +256,13 @@ main(argc, argv) case 'o': case 'c': case 'i': - addargs("-%c %s", ch, optarg); + addargs("-%c%s", ch, optarg); break; case 'P': - addargs("-p %s", optarg); + addargs("-p%s", optarg); break; case 'B': - addargs("-o Batchmode yes"); + addargs("-oBatchmode yes"); break; case 'p': pflag = 1; |