mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Removed some code that did nothing.
This commit is contained in:
parent
9c374417eb
commit
1963fe7b96
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ request = function( host, port, data, options )
|
|||
while ( ptr < ( type( body ) == "string" and body:len() ) or 1 ) do
|
||||
local hex = body:match( pattern, ptr )
|
||||
if not hex then break end
|
||||
chunk_len = tonumber( hex or 0, 16 ) or nil
|
||||
chunk_len = tonumber( hex or 0, 16 )
|
||||
if chunk_len then
|
||||
start = ptr + hex:len() + 2*body_delim:len()
|
||||
ptr = start + chunk_len
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue