remove an Argument Error, Negative Number bug faced at Brucon

git-svn-id: file:///home/svn/framework3/trunk@13769 4d416f70-5f16-0410-b530-b9f4589650da
unstable
amaloteaux 2011-09-21 14:52:52 +00:00
parent e93341f9f1
commit 2d0d48a820
1 changed files with 2 additions and 2 deletions

View File

@ -863,7 +863,7 @@ class Metasploit3 < Msf::Auxiliary
line = ""
width = 30 # name field width
twidth = 16 # table like display cell width
#twidth = 16 # table like display cell width
fields_order.each {|k|
if not output_data.has_key?(k)
@ -887,7 +887,7 @@ class Metasploit3 < Msf::Auxiliary
a.each { |sv|
sv = sv.to_s.strip
content << sprintf("%s%s", " "*(twidth-sv.length), sv)
content << sprintf("%s%s", " " * 5, sv)
}
content << "\n"
else