diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mode-tcpserver.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mode-tcpserver.lua b/src/mode-tcpserver.lua index ced0f7d..7f0d217 100644 --- a/src/mode-tcpserver.lua +++ b/src/mode-tcpserver.lua @@ -32,6 +32,8 @@ function init_server(host, port) assert(server:bind(host, port)) assert(server:listen(5)) + log.printf(log.DEBUG, "listening on " .. host .. ":" .. port) + return server end |