diff options
author | mpeterv <mpeterval@gmail.com> | 2016-02-11 15:53:53 +0300 |
---|---|---|
committer | mpeterv <mpeterval@gmail.com> | 2016-02-11 15:53:53 +0300 |
commit | 3c3a5d001138f7c4630aea595da0e93ed247ec34 (patch) | |
tree | 37118ed58705c6bf2c879279011729671897b2cf | |
parent | a7f21e8ec44586fafd5a6a2ffaaf721b69d86f6e (diff) | |
download | luasocket-3c3a5d001138f7c4630aea595da0e93ed247ec34.tar.gz luasocket-3c3a5d001138f7c4630aea595da0e93ed247ec34.tar.bz2 luasocket-3c3a5d001138f7c4630aea595da0e93ed247ec34.zip |
Use base.select instead of just select
-rw-r--r-- | src/ltn12.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltn12.lua b/src/ltn12.lua index f75cd07..dede0fa 100644 --- a/src/ltn12.lua +++ b/src/ltn12.lua | |||
@@ -43,7 +43,7 @@ end | |||
43 | -- (thanks to Wim Couwenberg) | 43 | -- (thanks to Wim Couwenberg) |
44 | function filter.chain(...) | 44 | function filter.chain(...) |
45 | local arg = {...} | 45 | local arg = {...} |
46 | local n = select('#',...) | 46 | local n = base.select('#',...) |
47 | local top, index = 1, 1 | 47 | local top, index = 1, 1 |
48 | local retry = "" | 48 | local retry = "" |
49 | return function(chunk) | 49 | return function(chunk) |