1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

The console version of askappend() completely forgot to check

cfg.logxfovr to see whether the user had already specified what
should happen to log files. Fixed.

[originally from svn r1613]
This commit is contained in:
Simon Tatham 2002-03-31 16:28:06 +00:00
parent ae2599845c
commit 43c528f780

View File

@ -212,6 +212,9 @@ int askappend(char *filename)
char line[32];
if (cfg.logxfovr != LGXF_ASK) {
return ((cfg.logxfovr == LGXF_OVR) ? 2 : 1);
}
if (console_batch_mode) {
fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename);
fflush(stderr);