diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-21 14:45:46 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-21 14:45:46 +1100 |
commit | 9f0f5c64bc4b6144e3fed6a7f538f7c21819a492 (patch) | |
tree | f79317ab211f59181a61b526f566e9c8cfe70c73 /sftp.c | |
parent | 89681214ca2f50a1b1ed6164c3afe1ce14995ffc (diff) |
- deraadt@cvs.openbsd.org 2001/12/19 07:18:56
[auth1.c auth2.c auth2-chall.c auth-bsdauth.c auth.c authfile.c auth.h]
[auth-krb4.c auth-rhosts.c auth-skey.c bufaux.c canohost.c channels.c]
[cipher.c clientloop.c compat.c compress.c deattack.c key.c log.c mac.c]
[match.c misc.c nchan.c packet.c readconf.c rijndael.c rijndael.h scard.c]
[servconf.c servconf.h serverloop.c session.c sftp.c sftp-client.c]
[sftp-glob.c sftp-int.c sftp-server.c ssh-add.c ssh-agent.c ssh.c]
[sshconnect1.c sshconnect2.c sshconnect.c sshd.8 sshd.c sshd_config]
[ssh-keygen.c sshlogin.c sshpty.c sshtty.c ttymodes.c uidswap.c]
basic KNF done while i was looking for something else
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | RCSID("$OpenBSD: sftp.c,v 1.21 2001/09/19 19:24:19 stevesk Exp $"); | 27 | RCSID("$OpenBSD: sftp.c,v 1.22 2001/12/19 07:18:56 deraadt Exp $"); |
28 | 28 | ||
29 | /* XXX: commandline mode */ | 29 | /* XXX: commandline mode */ |
30 | /* XXX: short-form remote directory listings (like 'ls -C') */ | 30 | /* XXX: short-form remote directory listings (like 'ls -C') */ |
@@ -114,7 +114,7 @@ main(int argc, char **argv) | |||
114 | 114 | ||
115 | __progname = get_progname(argv[0]); | 115 | __progname = get_progname(argv[0]); |
116 | args.list = NULL; | 116 | args.list = NULL; |
117 | addargs(&args, "ssh"); /* overwritten with ssh_program */ | 117 | addargs(&args, "ssh"); /* overwritten with ssh_program */ |
118 | addargs(&args, "-oFallBackToRsh no"); | 118 | addargs(&args, "-oFallBackToRsh no"); |
119 | addargs(&args, "-oForwardX11 no"); | 119 | addargs(&args, "-oForwardX11 no"); |
120 | addargs(&args, "-oForwardAgent no"); | 120 | addargs(&args, "-oForwardAgent no"); |
@@ -195,7 +195,7 @@ main(int argc, char **argv) | |||
195 | addargs(&args, "-oProtocol %d", sshver); | 195 | addargs(&args, "-oProtocol %d", sshver); |
196 | 196 | ||
197 | /* no subsystem if the server-spec contains a '/' */ | 197 | /* no subsystem if the server-spec contains a '/' */ |
198 | if (sftp_server == NULL || strchr(sftp_server, '/') == NULL) | 198 | if (sftp_server == NULL || strchr(sftp_server, '/') == NULL) |
199 | addargs(&args, "-s"); | 199 | addargs(&args, "-s"); |
200 | 200 | ||
201 | addargs(&args, "%s", host); | 201 | addargs(&args, "%s", host); |