diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-07-27 01:44:08 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-07-27 01:44:08 (GMT) |
commit | 2e0dddda92011c07a8a803c86d12789a3f926d7a (patch) | |
tree | a48632bd55defe5dc5a22472de43dd05aedb5306 | |
parent | 081afb84df011547579f3a10a24b2c51db9d6591 (diff) |
improved output for mode-tcpserver init
-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 |