diff options
author | Simon Tatham <anakin@pobox.com> | 2002-03-31 20:28:06 +0400 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2002-03-31 20:28:06 +0400 |
commit | 43c528f78068d0bd25ccc47fa4ba08acfe48cddb (patch) | |
tree | 020dc4820a59fe7274485ed20e3418afd9181687 /console.c | |
parent | ae2599845cdb6fd6e41d92f1c0eac37785518593 (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |