aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-30 02:19:54 +0200
committerKim Alvefur <zash@zash.se>2019-07-30 02:19:54 +0200
commit73beabd065c7cc08b1da06938e7df166c1f35c69 (patch)
treed4e8bfda6e21da0b52278dc3ea307ea0c238ccc1
parent8a87b70092c75b6fac191cf9f79787f7235bf60d (diff)
downloadprosody-73beabd065c7cc08b1da06938e7df166c1f35c69.tar.gz
prosody-73beabd065c7cc08b1da06938e7df166c1f35c69.zip
core.portmanager: Remove tostring call from logging
Taken care of by loggingmanager now
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 9eb40abf..7ba13dfd 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -103,7 +103,7 @@ local function activate(service_name)
for port in bind_ports do
local port_number = tonumber(port);
if not port_number then
- log("error", "Invalid port number specified for service '%s': %s", service_info.name, tostring(port));
+ log("error", "Invalid port number specified for service '%s': %s", service_info.name, port);
elseif #active_services:search(nil, interface, port_number) > 0 then
log("error", "Multiple services configured to listen on the same port ([%s]:%d): %s, %s", interface, port,
active_services:search(nil, interface, port)[1][1].service.name or "<unnamed>", service_name or "<unnamed>");