X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=psftp.c;fp=psftp.c;h=3b22741e2965c153e72f15a603633bb2708ec20f;hb=9a2730806cdf2191cb8ea22c9090c2e20e3a25ba;hp=83dec9687b4f70c9fbde22df15b553c8e7342ff3;hpb=415224eab5791f504c08146db901fe87837a19f6;p=PuTTY.git diff --git a/psftp.c b/psftp.c index 83dec968..3b22741e 100644 --- a/psftp.c +++ b/psftp.c @@ -2840,6 +2840,8 @@ static int psftp_connect(char *userhost, char *user, int portnumber) logctx = log_init(NULL, conf); console_provide_logctx(logctx); + platform_psftp_pre_conn_setup(); + err = back->init(NULL, &backhandle, conf, conf_get_str(conf, CONF_host), conf_get_int(conf, CONF_port), @@ -2954,8 +2956,6 @@ int psftp_main(int argc, char *argv[]) argv += i; back = NULL; - platform_psftp_post_option_setup(); - /* * If the loaded session provides a hostname, and a hostname has not * otherwise been specified, pop it in `userhost' so that