# HG changeset patch # User Kim Alvefur # Date 1564445994 -7200 # Node ID c8fbb7f2fc0d9f55fefa847e6aac731960ee6ebd # Parent 63f87211fcdd8e6caee8c05d6a28e8d8fbc402e9 core.portmanager: Remove tostring call from logging Taken care of by loggingmanager now diff -r 63f87211fcdd -r c8fbb7f2fc0d core/portmanager.lua --- 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 "", service_name or "");