projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First phase of porting. pterm now compiles and runs under Linux+gtk.
[u/mdw/putty]
/
plink.c
diff --git
a/plink.c
b/plink.c
index
ed4f134
..
0d79a98
100644
(file)
--- a/
plink.c
+++ b/
plink.c
@@
-29,6
+29,17
@@
void fatalbox(char *p, ...)
WSACleanup();
cleanup_exit(1);
}
WSACleanup();
cleanup_exit(1);
}
+void modalfatalbox(char *p, ...)
+{
+ va_list ap;
+ fprintf(stderr, "FATAL ERROR: ");
+ va_start(ap, p);
+ vfprintf(stderr, p, ap);
+ va_end(ap);
+ fputc('\n', stderr);
+ WSACleanup();
+ cleanup_exit(1);
+}
void connection_fatal(char *p, ...)
{
va_list ap;
void connection_fatal(char *p, ...)
{
va_list ap;