From 361b81c14203df254e2b0148e00945acfc922883 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 31 Mar 2002 16:28:06 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@1613 cda61777-01e9-0310-a592-d414129be87e --- console.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/console.c b/console.c index 557c1447..1078986f 100644 --- a/console.c +++ b/console.c @@ -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); -- 2.11.0