From 278b023fc2c317c405cbb011d90444ed3e56593c Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Thu, 18 Mar 2010 13:21:09 +0000
Subject: [PATCH] remove old style vararg (arg instead of ...) because of
 luajit

git-svn-id: http://svn.net-core.org/repos/t-engine4@440 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/thirdparty/ltn12.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game/thirdparty/ltn12.lua b/game/thirdparty/ltn12.lua
index b42689a34a..55c3e346f3 100644
--- a/game/thirdparty/ltn12.lua
+++ b/game/thirdparty/ltn12.lua
@@ -38,6 +38,7 @@ end
 -- chains a bunch of filters together
 -- (thanks to Wim Couwenberg)
 function filter.chain(...)
+    local arg = {...}
     local n = table.getn(arg)
     local top, index = 1, 1
     local retry = ""
@@ -186,6 +187,7 @@ end
 -- other, as if they were concatenated
 -- (thanks to Wim Couwenberg)
 function source.cat(...)
+    local arg = {...}
     local src = table.remove(arg, 1)
     return function()
         while src do
-- 
GitLab