Skip to content

Commit 187f443

Browse files
committed
Fix. setopt socketfunction.
1 parent f8a96dd commit 187f443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua/cURL/impl/cURL.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function Multi:setopt(k, v)
681681
end
682682

683683
if k == curl.OPT_SOCKETFUNCTION then
684-
return self:setopt_httppost(wrap_socketfunction(v))
684+
return self:setopt_socketfunction(v)
685685
end
686686

687687
return setopt(self, k, v)

0 commit comments

Comments
 (0)