mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +00:00
Removed some code that did nothing.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user