diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-17 14:35:36 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-17 14:35:36 +0000 |
commit | c7bd9ccd8594c6646285e0df840a40bb9ab00d36 (patch) | |
tree | 73017c96e5b239d2ca3f040338a50db9648c8f73 /cli-runopts.c | |
parent | e44aa503f0b816adb1611f118c1c09877e7bb3d3 (diff) |
Don't capture stderr from spawned processes in proxycommand mode
--HG--
extra : convert_revision : 636506b73e973b004cc058b07e6f36a25ff902f8
Diffstat (limited to 'cli-runopts.c')
-rw-r--r-- | cli-runopts.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cli-runopts.c b/cli-runopts.c index d0c9f3f..611723c 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -67,7 +67,7 @@ static void printhelp() { "-W <receive_window_buffer> (default %d, larger may be faster, max 1MB)\n" "-K <keepalive> (0 is never, default %d)\n" #ifdef ENABLE_CLI_PROXYCMD - "-J <proxy_program> Use program rather than tcp connection" + "-J <proxy_program> Use program rather than tcp connection\n" #endif #ifdef DEBUG_TRACE "-v verbose\n" @@ -297,14 +297,6 @@ void cli_getopts(int argc, char ** argv) { } } -#ifdef ENABLE_CLI_PROXYCMD - if (cli_opts.proxycmd != NULL) { - /* XXX something more useful */ - cli_opts.remotehost = cli_opts.proxycmd; - cli_opts.remoteport = ""; - } -#endif - if (cli_opts.remotehost == NULL) { printhelp(); exit(EXIT_FAILURE); |