aboutsummaryrefslogtreecommitdiff
path: root/test/testsrvr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/testsrvr.lua')
-rw-r--r--test/testsrvr.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua
index 6010789..99b54e5 100644
--- a/test/testsrvr.lua
+++ b/test/testsrvr.lua
@@ -6,7 +6,8 @@ if not server then print("server: " .. tostring(error)) os.exit() end
6ack = "\n" 6ack = "\n"
7while 1 do 7while 1 do
8 print("server: waiting for client connection..."); 8 print("server: waiting for client connection...");
9 control = server:accept() 9 control, error = server:accept()
10 assert(control, error)
10 -- control:setoption("nodelay", true) 11 -- control:setoption("nodelay", true)
11 while 1 do 12 while 1 do
12 command, error = control:receive() 13 command, error = control:receive()