1
0
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:
Simon Tatham
2003-05-04 14:14:10 +00:00
parent 135abf2445
commit 0bfe876b57
5 changed files with 17 additions and 12 deletions

2
raw.c
View File

@ -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;
}