diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/etc/dispatch.lua')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luasocket/etc/dispatch.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/etc/dispatch.lua b/Build/source/texk/web2c/luatexdir/luasocket/etc/dispatch.lua index 3ef1e72b690..cc8cb23c882 100644 --- a/Build/source/texk/web2c/luatexdir/luasocket/etc/dispatch.lua +++ b/Build/source/texk/web2c/luatexdir/luasocket/etc/dispatch.lua @@ -2,7 +2,6 @@ -- A hacked dispatcher module -- LuaSocket sample files -- Author: Diego Nehab --- RCS ID: $$ ----------------------------------------------------------------------------- local base = _G local table = require("table") @@ -54,7 +53,7 @@ function socket.protect(f) local results = {coroutine.resume(co, base.unpack(arg))} local status = table.remove(results, 1) if not status then - if type(results[1]) == 'table' then + if base.type(results[1]) == 'table' then return nil, results[1][1] else base.error(results[1]) end end |