aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2009-05-27 09:31:38 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2009-05-27 09:31:38 +0000
commitbce60be30fe8e9c1b0eb33128c23c93d7bca5303 (patch)
tree3927343c777fcb7764a0f2f89754a0ceab141c21 /etc
parentd1a72435d5bd3528f3c334cd4d1da16dcead47bf (diff)
downloadluasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.gz
luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.bz2
luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.zip
Decent makefiles!
Diffstat (limited to 'etc')
-rw-r--r--etc/dispatch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/dispatch.lua b/etc/dispatch.lua
index 3ef1e72..5236f3d 100644
--- a/etc/dispatch.lua
+++ b/etc/dispatch.lua
@@ -54,7 +54,7 @@ function socket.protect(f)
54 local results = {coroutine.resume(co, base.unpack(arg))} 54 local results = {coroutine.resume(co, base.unpack(arg))}
55 local status = table.remove(results, 1) 55 local status = table.remove(results, 1)
56 if not status then 56 if not status then
57 if type(results[1]) == 'table' then 57 if base.type(results[1]) == 'table' then
58 return nil, results[1][1] 58 return nil, results[1][1]
59 else base.error(results[1]) end 59 else base.error(results[1]) end
60 end 60 end