mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 12:49:02 +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
|
while ( ptr < ( type( body ) == "string" and body:len() ) or 1 ) do
|
||||||
local hex = body:match( pattern, ptr )
|
local hex = body:match( pattern, ptr )
|
||||||
if not hex then break end
|
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
|
if chunk_len then
|
||||||
start = ptr + hex:len() + 2*body_delim:len()
|
start = ptr + hex:len() + 2*body_delim:len()
|
||||||
ptr = start + chunk_len
|
ptr = start + chunk_len
|
||||||
|
|||||||
Reference in New Issue
Block a user