From b9f35cbcac86e23ee6fca632a0f8c78817ceffae Mon Sep 17 00:00:00 2001 From: sophron Date: Thu, 18 Jul 2013 13:56:45 +0000 Subject: [PATCH] Fixed syntax mistake. --- nselib/httpspider.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/httpspider.lua b/nselib/httpspider.lua index 1e8ea27d9..440afac65 100644 --- a/nselib/httpspider.lua +++ b/nselib/httpspider.lua @@ -842,7 +842,7 @@ Crawler = { local o = self.options local limits = {} if ( o.maxdepth > 0 or o.maxpagecount > 0 or - o.withinhost or o.wihtindomain ) then + o.withinhost or o.withindomain ) then if ( o.maxdepth > 0 ) then table.insert(limits, ("maxdepth=%d"):format(o.maxdepth)) end