diff options
| author | Diego Nehab <diego.nehab@gmail.com> | 2015-08-25 15:43:48 -0300 |
|---|---|---|
| committer | Diego Nehab <diego.nehab@gmail.com> | 2015-08-25 15:43:48 -0300 |
| commit | 4110e4125dace9df3a744067066e5dee62670561 (patch) | |
| tree | 10927b57ea5c543054d01bd2bd538a4f97128678 /test/testsrvr.lua | |
| parent | 46d7e75f3e71d75bf07ae83d7df4aa276e484473 (diff) | |
| parent | 77bba625d7aaa0f9e118879163687fcbcb0b5a7b (diff) | |
| download | luasocket-4110e4125dace9df3a744067066e5dee62670561.tar.gz luasocket-4110e4125dace9df3a744067066e5dee62670561.tar.bz2 luasocket-4110e4125dace9df3a744067066e5dee62670561.zip | |
Merge branch 'agnostic'
Seems safe to move to master.
Diffstat (limited to 'test/testsrvr.lua')
| -rw-r--r-- | test/testsrvr.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua index 72b93ab..1eb2d5b 100644 --- a/test/testsrvr.lua +++ b/test/testsrvr.lua | |||
| @@ -6,7 +6,7 @@ ack = "\n"; | |||
| 6 | while 1 do | 6 | while 1 do |
| 7 | print("server: waiting for client connection..."); | 7 | print("server: waiting for client connection..."); |
| 8 | control = assert(server:accept()); | 8 | control = assert(server:accept()); |
| 9 | while 1 do | 9 | while 1 do |
| 10 | command, emsg = control:receive(); | 10 | command, emsg = control:receive(); |
| 11 | if emsg == "closed" then | 11 | if emsg == "closed" then |
| 12 | control:close() | 12 | control:close() |
