1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Oops - fputs takes the file pointer second, not first!

[originally from svn r1513]
This commit is contained in:
Simon Tatham 2001-12-20 14:19:10 +00:00
parent 0fa9d708f7
commit 811b9b7d18

View File

@ -1623,7 +1623,7 @@ void fatalbox(char *fmt, ...)
vsprintf(str + strlen(str), fmt, ap);
va_end(ap);
strcat(str, "\n");
fputs(stderr, str);
fputs(str, stderr);
exit(1);
}
@ -1636,7 +1636,7 @@ void connection_fatal(char *fmt, ...)
vsprintf(str + strlen(str), fmt, ap);
va_end(ap);
strcat(str, "\n");
fputs(stderr, str);
fputs(str, stderr);
exit(1);
}