mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Compare commits
2 Commits
a04fc3389e
...
5daccaed1d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5daccaed1d | ||
|
|
790deb7daf |
@@ -360,7 +360,7 @@ Helper = {
|
||||
end,
|
||||
|
||||
getQueueInfo = function(self, uri)
|
||||
local uri = uri or ("ipp://%s/"):format(self.host.ip)
|
||||
uri = uri or ("ipp://%s/"):format(self.host.ip)
|
||||
|
||||
local attribs = {
|
||||
IPP.Attribute:new(IPP.Attribute.IPP_TAG_CHARSET, "attributes-charset", "utf-8" ),
|
||||
@@ -399,7 +399,6 @@ Helper = {
|
||||
local state = ag:getAttributeValue("job-state", IPP.Attribute.IPP_TAG_ENUM) or ag:getAttributeValue("job-state")
|
||||
-- some jobs have multiple id tag, so far the INTEGER type have shown the correct ID
|
||||
local id = ag:getAttributeValue("job-id", IPP.Attribute.IPP_TAG_INTEGER) or ag:getAttributeValue("job-id")
|
||||
local attr = ag:getAttribute("time-at-creation")
|
||||
local tm = ag:getAttributeValue("time-at-creation")
|
||||
local size = ag:getAttributeValue("job-k-octets") .. "k"
|
||||
local jobname = ag:getAttributeValue("com.apple.print.JobInfo.PMJobName") or "Unknown"
|
||||
|
||||
Reference in New Issue
Block a user