summaryrefslogtreecommitdiff
path: root/nopsyncd/tcpserver.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nopsyncd/tcpserver.lua')
-rwxr-xr-xnopsyncd/tcpserver.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/nopsyncd/tcpserver.lua b/nopsyncd/tcpserver.lua
index dd6f18b..3b4c777 100755
--- a/nopsyncd/tcpserver.lua
+++ b/nopsyncd/tcpserver.lua
@@ -34,7 +34,7 @@ end
local clients = {}
function add_client(hdl)
- print("new client(" .. hdl:getfd() .. ") from " .. hdl:getpeername())
+ -- print("new client(" .. hdl:getfd() .. ") from " .. hdl:getpeername())
local client = {}
client.buffer = ""
client.hdl = hdl
@@ -51,7 +51,7 @@ function remove_client(c)
end
end
- print("removing client(" .. c.hdl:getfd() .. ")")
+ -- print("removing client(" .. c.hdl:getfd() .. ")")
c.hdl:close()
table.remove(clients, idx)
end
@@ -96,7 +96,7 @@ function main_loop()
if timestamp == nil then
return 2
end
- print("pipe was signaled with timestamp: " .. timestamp)
+ -- print("pipe was signaled with timestamp: " .. timestamp)
clients_senddata(timestamp)
elseif input == server then
local client = assert(server:accept())