From 17a57e186b94a148452c014a691717d8393548b2 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 14 Jun 2011 02:29:40 +0000 Subject: [PATCH] Actually honor the append parameter to log_open. It was looking at o.append_output instead. It didn't matter, because it was always called with o.append_output in that place anyway. --- output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output.cc b/output.cc index 80e00891c..153356627 100644 --- a/output.cc +++ b/output.cc @@ -1067,7 +1067,7 @@ int log_open(int logt, int append, char *filename) { if (!o.nmap_stdout) fatal("Could not assign %s to stdout for writing", DEVNULL); } else { - if (o.append_output) + if (append) o.logfd[i] = fopen(filename, "a"); else o.logfd[i] = fopen(filename, "w");