mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +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:
parent
ae2599845c
commit
43c528f780
@ -212,6 +212,9 @@ int askappend(char *filename)
|
|||||||
|
|
||||||
char line[32];
|
char line[32];
|
||||||
|
|
||||||
|
if (cfg.logxfovr != LGXF_ASK) {
|
||||||
|
return ((cfg.logxfovr == LGXF_OVR) ? 2 : 1);
|
||||||
|
}
|
||||||
if (console_batch_mode) {
|
if (console_batch_mode) {
|
||||||
fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename);
|
fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
Loading…
Reference in New Issue
Block a user