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