]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - rlogin.c
Colin's and my fixes to connection_fatal().
[PuTTY.git] / rlogin.c
index c12a0802e6f54f422b541a1e04432a9ffdb7ec87..aa8dc0dd2dfdfcf6c7dfd28e3db0784b6f07afe2 100644 (file)
--- 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;
 }