X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8eebd22198133e95ce25af1dd15dead0a5389371..fb006241667a4433ca6fbfcaf37522fb924e0110:/raw.c diff --git a/raw.c b/raw.c index 58b060c5..20732dd2 100644 --- a/raw.c +++ b/raw.c @@ -33,7 +33,8 @@ static int raw_closing(Plug plug, char *error_msg, int error_code, } if (error_msg) { /* A socket error has occurred. */ - connection_fatal(error_msg); + logevent(error_msg); + connection_fatal("%s", error_msg); } /* Otherwise, the remote side closed the connection normally. */ return 0; }