mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Colin's and my fixes to connection_fatal().
[originally from svn r3161]
This commit is contained in:
2
ssh.c
2
ssh.c
@ -2085,7 +2085,7 @@ static int ssh_closing(Plug plug, char *error_msg, int error_code,
|
||||
if (error_msg) {
|
||||
/* A socket error has occurred. */
|
||||
logevent(error_msg);
|
||||
connection_fatal(ssh->frontend, error_msg);
|
||||
connection_fatal(ssh->frontend, "%s", error_msg);
|
||||
} else {
|
||||
/* Otherwise, the remote side closed the connection normally. */
|
||||
}
|
||||
|
Reference in New Issue
Block a user