X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/c229ef97dfba4dee7d2fc0a098e0343dc87dc004..341eb9782019fd4fd77ff56894b489a23f229131:/plink.c diff --git a/plink.c b/plink.c index 2ed3e033..7bd1f901 100644 --- a/plink.c +++ b/plink.c @@ -69,6 +69,7 @@ WSAEVENT netevent; static Backend *back; static void *backhandle; +static Config cfg; int term_ldisc(Terminal *term, int mode) { @@ -547,6 +548,7 @@ int main(int argc, char **argv) } logctx = log_init(NULL, &cfg); back->provide_logctx(backhandle, logctx); + console_provide_logctx(logctx); sfree(realhost); } connopen = 1;