diff options
Diffstat (limited to 'test/testsrvr.lua')
-rw-r--r-- | test/testsrvr.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua index 5c05239..d172a9e 100644 --- a/test/testsrvr.lua +++ b/test/testsrvr.lua | |||
@@ -1,3 +1,5 @@ | |||
1 | require "luasocket" | ||
2 | |||
1 | host = host or "localhost" | 3 | host = host or "localhost" |
2 | port = port or "8080" | 4 | port = port or "8080" |
3 | 5 | ||
@@ -22,8 +24,6 @@ while 1 do | |||
22 | print("server: closing connection...") | 24 | print("server: closing connection...") |
23 | break | 25 | break |
24 | end | 26 | end |
25 | print(command); | ||
26 | |||
27 | (loadstring(command))() | 27 | (loadstring(command))() |
28 | end | 28 | end |
29 | end | 29 | end |