From 1afba58f9455f7e066250cfb481e4435bf0c2875 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 7 Oct 2010 04:16:48 +0000 Subject: [PATCH] Fix typos git-svn-id: file:///home/svn/framework3/trunk@10584 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/parser/retina_xml.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rex/parser/retina_xml.rb b/lib/rex/parser/retina_xml.rb index 52f43a6182..485ca15080 100644 --- a/lib/rex/parser/retina_xml.rb +++ b/lib/rex/parser/retina_xml.rb @@ -6,9 +6,9 @@ class RetinaXMLStreamParser attr_accessor :on_found_host - def initialize(callback = nil) + def initialize(on_found_host = nil) reset_state - self.callback = callback if callback + self.on_found_host = on_found_host if on_found_host end def reset_state