diff options
Diffstat (limited to 'test/testsrvr.lua')
-rw-r--r-- | test/testsrvr.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua index d172a9e..52f1f90 100644 --- a/test/testsrvr.lua +++ b/test/testsrvr.lua | |||
@@ -13,6 +13,7 @@ while 1 do | |||
13 | -- control:setoption("nodelay", true) | 13 | -- control:setoption("nodelay", true) |
14 | while 1 do | 14 | while 1 do |
15 | command, error = control:receive() | 15 | command, error = control:receive() |
16 | print(error) | ||
16 | if error then | 17 | if error then |
17 | control:close() | 18 | control:close() |
18 | print("server: closing connection...") | 19 | print("server: closing connection...") |
@@ -24,6 +25,7 @@ while 1 do | |||
24 | print("server: closing connection...") | 25 | print("server: closing connection...") |
25 | break | 26 | break |
26 | end | 27 | end |
28 | print(command); | ||
27 | (loadstring(command))() | 29 | (loadstring(command))() |
28 | end | 30 | end |
29 | end | 31 | end |