mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
A couple code warnings in dicom.lua
This commit is contained in:
parent
3c24eda4be
commit
128c136d44
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
--
|
||||
---
|
||||
-- DICOM library
|
||||
--
|
||||
-- This library implements (partially) the DICOM protocol. This protocol is used to
|
||||
|
|
@ -235,7 +235,7 @@ function associate(host, port, calling_aet, called_aet)
|
|||
if #assoc_request < MIN_SIZE_ASSOC_REQ then
|
||||
return false, string.format("ASSOCIATE request PDU must be at least %d bytes and we tried to send %d.", MIN_SIZE_ASSOC_REQ, #assoc_request)
|
||||
end
|
||||
status, err = send(dcm, assoc_request)
|
||||
local status, err = send(dcm, assoc_request)
|
||||
if status == false then
|
||||
return false, string.format("Couldn't send ASSOCIATE request:%s", err)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue