projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184be52
)
portmanager: Add luacheck annotations
author
Matthew Wild
<mwild1@gmail.com>
Wed, 13 May 2015 16:07:30 +0000
(17:07 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 13 May 2015 16:07:30 +0000
(17:07 +0100)
core/portmanager.lua
patch
|
blob
|
history
diff --git
a/core/portmanager.lua
b/core/portmanager.lua
index bbb7c215ff92bcaa2c3477d45e4908b7d668a444..ca99a1dd5df3b7f7b99a1292bf7b21c312ea0c44 100644
(file)
--- a/
core/portmanager.lua
+++ b/
core/portmanager.lua
@@
-152,7
+152,7
@@
function activate(service_name)
end
function deactivate(service_name, service_info)
- for name, interface, port, n, active_service
+ for name, interface, port, n, active_service
--luacheck: ignore 213/name 213/n
in active_services:iter(service_name or service_info and service_info.name, nil, nil, nil) do
if service_info == nil or active_service.service == service_info then
close(interface, port);