mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Marginally cleaner variant of commit r37751
This commit is contained in:
parent
f566d59595
commit
90f177843b
1 changed files with 2 additions and 2 deletions
|
|
@ -80,9 +80,9 @@ Request = {
|
|||
|
||||
local req = {
|
||||
("%s %s RTSP/1.0"):format(self.method, self.url),
|
||||
("CSeq: %d"):format(self.cseq)
|
||||
("CSeq: %d"):format(self.cseq),
|
||||
table.unpack(self.headers)
|
||||
}
|
||||
table.move(self.headers, 1, #self.headers, #req + 1, req)
|
||||
table.insert(req, "")
|
||||
table.insert(req, "")
|
||||
return table.concat(req, "\r\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue