diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-30 02:19:54 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-30 02:19:54 +0200 |
commit | f1296c621d3577dc82019c6835596be2cd04ff08 (patch) | |
tree | d4e8bfda6e21da0b52278dc3ea307ea0c238ccc1 | |
parent | 814e34400076376423770d65a1e7b262511df834 (diff) | |
download | prosody-f1296c621d3577dc82019c6835596be2cd04ff08.tar.gz prosody-f1296c621d3577dc82019c6835596be2cd04ff08.zip |
core.portmanager: Remove tostring call from logging
Taken care of by loggingmanager now
-rw-r--r-- | core/portmanager.lua | 2 |
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>"); |