]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - telnet.c
Colin's and my fixes to connection_fatal().
[PuTTY.git] / telnet.c
index e3fff49f9e3cf94cd3055a88fe227e3b43c1285a..d358f82fd782c8e3b1c168b7ede80aa16da1dc4b 100644 (file)
--- a/telnet.c
+++ b/telnet.c
@@ -643,7 +643,7 @@ static int telnet_closing(Plug plug, char *error_msg, int error_code,
     if (error_msg) {
        /* A socket error has occurred. */
        logevent(telnet->frontend, error_msg);
-       connection_fatal("%s", error_msg);
+       connection_fatal(telnet->frontend, "%s", error_msg);
     }                                 /* Otherwise, the remote side closed the connection normally. */
     return 0;
 }