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