Patch from Daniel Miller: fix an output line that was writing to stdout

even when other output was redirected.
This commit is contained in:
david 2011-01-28 21:16:18 +00:00
parent 0c8e9d05c3
commit d7e555c878
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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)