mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Colin's and my fixes to connection_fatal().
[originally from svn r3161]
This commit is contained in:
2
telnet.c
2
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user