summaryrefslogtreecommitdiff
path: root/nopsyncd/tcpserver.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-03-29 15:43:47 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-03-29 15:43:47 (GMT)
commit90d86556d7bcf29964f4c73b72ce47bcda7543aa (patch)
tree1fb72b9f6344828ee1359302fe4f9b73928d9ff4 /nopsyncd/tcpserver.lua
parent27a967a7fbbd9345bf205e44bbfd047f5752a42e (diff)
small cleanup
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())