Fix. Create share object in Lua-cURL interface.

This commit is contained in:
Alexey Melnichuk 2014-09-03 12:17:00 +05:00
parent 2da7106ebb
commit 21ab3f9729

View File

@ -268,7 +268,7 @@ Share.__index = function(self, k)
end
function Share:new()
local h, err = curl.easy()
local h, err = curl.share()
if not h then return nil, err end
local o = setmetatable({