summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-27 01:44:08 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-27 01:44:08 (GMT)
commit2e0dddda92011c07a8a803c86d12789a3f926d7a (patch)
treea48632bd55defe5dc5a22472de43dd05aedb5306 /src
parent081afb84df011547579f3a10a24b2c51db9d6591 (diff)
improved output for mode-tcpserver init
Diffstat (limited to 'src')
-rw-r--r--src/mode-tcpserver.lua2
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