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 fb77ea5..3c40840 100644
--- a/test/testsrvr.lua
+++ b/test/testsrvr.lua
@@ -13,12 +13,13 @@ while 1 do
13 print("server: closing connection...") 13 print("server: closing connection...")
14 break 14 break
15 end 15 end
16 error = control:send("\n") 16 sent, error = control:send("\n")
17 if error then 17 if error then
18 control:close() 18 control:close()
19 print("server: closing connection...") 19 print("server: closing connection...")
20 break 20 break
21 end 21 end
22 print(command);
22 (loadstring(command))() 23 (loadstring(command))()
23 end 24 end
24end 25end