]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - raw.c
Colin's and my fixes to connection_fatal().
[PuTTY.git] / raw.c
diff --git a/raw.c b/raw.c
index 10e9ce64cf5ca320e83e4a7550d3d1bf84ca8b55..e7a159cd4daad5a2de527dde8d9ae375c0872bd4 100644 (file)
--- 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;
 }