X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c229ef97dfba4dee7d2fc0a098e0343dc87dc004..88103a480c4ed348f28fc9fc20cfc4641206b92c:/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;