From: simon Date: Sun, 12 Jan 2003 14:37:26 +0000 (+0000) Subject: Forgot to match the cmdline changes in the Unix port. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/9b41d3a8fae7c9f0a1d279c205a86a91e85728d1 Forgot to match the cmdline changes in the Unix port. git-svn-id: svn://svn.tartarus.org/sgt/putty@2558 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxplink.c b/unix/uxplink.c index 96d3f189..5ca5bb2c 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -301,7 +301,8 @@ int main(int argc, char **argv) while (--argc) { char *p = *++argv; if (*p == '-') { - int ret = cmdline_process_param(p, (argc > 1 ? argv[1] : NULL), 1); + int ret = cmdline_process_param(p, (argc > 1 ? argv[1] : NULL), + 1, &cfg); if (ret == -2) { fprintf(stderr, "plink: option \"%s\" requires an argument\n", p); @@ -479,7 +480,7 @@ int main(int argc, char **argv) /* * Perform command-line overrides on session configuration. */ - cmdline_run_saved(); + cmdline_run_saved(&cfg); /* * Trim a colon suffix off the hostname if it's there.