diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-10-18 21:38:01 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-10-18 21:38:01 +0800 |
commit | 45bd0edae52c07daa2d54ca7f7c0a57d51130791 (patch) | |
tree | 38ab731e4c38f1e287c187a9ca14ea73a92f9434 /cli-runopts.c | |
parent | aafeebd0c841494e4f7315890bc97ed0daf99cbd (diff) | |
parent | 3d733a16e9ee856a45a1fbd9a1b48005d78063f9 (diff) |
Merge in changes from the past couple of releases
--HG--
branch : ecc
Diffstat (limited to 'cli-runopts.c')
-rw-r--r-- | cli-runopts.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli-runopts.c b/cli-runopts.c index 91a2f42..b8d304f 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -383,6 +383,13 @@ void cli_getopts(int argc, char ** argv) { exit(EXIT_FAILURE); } +#ifdef ENABLE_CLI_PROXYCMD + if (cli_opts.proxycmd) { + /* To match the common path of m_freeing it */ + cli_opts.proxycmd = m_strdup(cli_opts.proxycmd); + } +#endif + if (cli_opts.remoteport == NULL) { cli_opts.remoteport = "22"; } |