X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c44bf5bd7bf680c21356864ac5ae72ab29e55ce6..971bcc0afc69f7e754285167e88885c8893d0229:/telnet.c diff --git a/telnet.c b/telnet.c index e3fff49f..d358f82f 100644 --- a/telnet.c +++ b/telnet.c @@ -643,7 +643,7 @@ static int telnet_closing(Plug plug, char *error_msg, int error_code, if (error_msg) { /* A socket error has occurred. */ logevent(telnet->frontend, error_msg); - connection_fatal("%s", error_msg); + connection_fatal(telnet->frontend, "%s", error_msg); } /* Otherwise, the remote side closed the connection normally. */ return 0; }