Fix "-v" in the Windows console utilities (plink, pscp, psftp).
[sgt/putty] / scp.c
diff --git a/scp.c b/scp.c
index c547667..cc09a46 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -580,6 +580,7 @@ static void do_cmd(char *host, char *user, char *cmd)
        bump("ssh_init: %s", err);
     logctx = log_init(NULL, &cfg);
     back->provide_logctx(backhandle, logctx);
+    console_provide_logctx(logctx);
     ssh_scp_init();
     if (verbose && realhost != NULL)
        tell_user(stderr, "Connected to %s\n", realhost);