Skip to content

Commit 21eb198

Browse files
committed
Fix. export internal functions to global environment.
1 parent 40695b4 commit 21eb198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lua/cURL/impl/cURL.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ function Multi:info_read(...)
586586
end
587587
end
588588

589-
function wrap_callback(...)
589+
local function wrap_callback(...)
590590
local n = select("#", ...)
591591
local fn, ctx, has_ctx
592592
if n >= 2 then
@@ -603,7 +603,7 @@ function wrap_callback(...)
603603
return function(...) return fn(...) end
604604
end
605605

606-
function wrap_socketfunction(self, cb)
606+
local function wrap_socketfunction(self, cb)
607607
return function(h, ...)
608608
local e = self._easy[h]
609609
if e then return cb(e, ...) end

0 commit comments

Comments
 (0)