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;
continue;
} else if (!strcmp(p, "-batch")) {
console_batch_mode = 1;
- } else if (!strcmp(p, "-log")) {
- logfile = "putty.log";
}
} else if (*p) {
if (!*cfg.host) {