summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/lucid/luasrc/lucid/tcpserver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lucid/luasrc/lucid/tcpserver.lua b/libs/lucid/luasrc/lucid/tcpserver.lua
index 47748e4a3..b280f5f7f 100644
--- a/libs/lucid/luasrc/lucid/tcpserver.lua
+++ b/libs/lucid/luasrc/lucid/tcpserver.lua
@@ -116,7 +116,7 @@ function accept(polle)
end
local socket, host, port = polle.fd:accept()
if not socket then
- return nixio.syslog("warn", "accept() failed: " .. port)
+ return nixio.syslog("warning", "accept() failed: " .. port)
end
socket:setblocking(true)