~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another signal-handling refinement from RJK: the SIGCHLD handler
[sgt/putty]
/
plink.c
diff --git
a/plink.c
b/plink.c
index
86b3415
..
528eee6
100644
(file)
--- a/
plink.c
+++ b/
plink.c
@@
-40,7
+40,7
@@
void modalfatalbox(char *p, ...)
WSACleanup();
cleanup_exit(1);
}
WSACleanup();
cleanup_exit(1);
}
-void connection_fatal(char *p, ...)
+void connection_fatal(
void *frontend,
char *p, ...)
{
va_list ap;
fprintf(stderr, "FATAL ERROR: ");
{
va_list ap;
fprintf(stderr, "FATAL ERROR: ");
@@
-538,6
+538,8
@@
int main(int argc, char **argv)
fprintf(stderr, "Unable to open connection:\n%s", error);
return 1;
}
fprintf(stderr, "Unable to open connection:\n%s", error);
return 1;
}
+ logctx = log_init(NULL);
+ back->provide_logctx(backhandle, logctx);
sfree(realhost);
}
connopen = 1;
sfree(realhost);
}
connopen = 1;