Diff

net/server_epoll.lua @ 7574:97b8506118a9

net.server_epoll: Fix missing quotes in logging call
author Kim Alvefur <zash@zash.se>
date Thu, 18 Aug 2016 02:30:49 +0200
parent 7573:0f0a6febbc5a
child 7583:0498daffa6f0
line wrap: on
line diff
--- a/net/server_epoll.lua	Thu Aug 18 01:52:18 2016 +0200
+++ b/net/server_epoll.lua	Thu Aug 18 02:30:49 2016 +0200
@@ -399,7 +399,7 @@
 function interface:onacceptable()
 	local conn, err = self.conn:accept();
 	if not conn then
-		log(debug, "Error accepting new client: %s, server will be paused for %ds", err, cfg.accept_retry_interval);
+		log("debug", "Error accepting new client: %s, server will be paused for %ds", err, cfg.accept_retry_interval);
 		self:pausefor(cfg.accept_retry_interval);
 		return;
 	end