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