Software /
code /
prosody
Changeset
10106:c8fbb7f2fc0d
core.portmanager: Remove tostring call from logging
Taken care of by loggingmanager now
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Jul 2019 02:19:54 +0200 |
parents | 10105:63f87211fcdd |
children | 10107:1dbabbebb53c |
files | core/portmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/portmanager.lua Tue Jul 30 02:19:27 2019 +0200 +++ b/core/portmanager.lua Tue Jul 30 02:19:54 2019 +0200 @@ -103,7 +103,7 @@ 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>");