From d7e555c878ed1c2d92c4b3304ddc4234533782d9 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 28 Jan 2011 21:16:18 +0000 Subject: [PATCH] Patch from Daniel Miller: fix an output line that was writing to stdout even when other output was redirected. --- CHANGELOG | 3 +++ ndiff/ndiff | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a42ababaf..f9bc7c622 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o [Ndiff] Fixed an output line that wasn't being redirected to a file + when all other output was. [Daniel Miller] + Nmap 5.50 [2011-01-28] o [Zenmap] Added a new script selection interface, allowing you to diff --git a/ndiff/ndiff b/ndiff/ndiff index 657bce9ab..b7f324f7e 100755 --- a/ndiff/ndiff +++ b/ndiff/ndiff @@ -425,7 +425,7 @@ class ScanDiff(object): print >> f, u" %s" % banner_a for host in self.hosts: - print + print >> f h_diff = self.host_diffs[host] h_diff.print_text(f)