projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Colin's and my fixes to connection_fatal().
[u/mdw/putty]
/
raw.c
diff --git
a/raw.c
b/raw.c
index
10e9ce6
..
e7a159c
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);
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;
}
} /* Otherwise, the remote side closed the connection normally. */
return 0;
}