Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2002-03-31 20:28:06 +0400
committerSimon Tatham <anakin@pobox.com>2002-03-31 20:28:06 +0400
commit43c528f78068d0bd25ccc47fa4ba08acfe48cddb (patch)
tree020dc4820a59fe7274485ed20e3418afd9181687 /console.c
parentae2599845cdb6fd6e41d92f1c0eac37785518593 (diff)
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]
Diffstat (limited to 'console.c')
-rw-r--r--console.c3
1 files changed, 3 insertions, 0 deletions
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);