We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c864a commit e9ac10fCopy full SHA for e9ac10f
src/lceasy.c
@@ -975,7 +975,7 @@ static int lcurl_easy_unset_TRAILERFUNCTION(lua_State *L){
975
if(code != CURLE_OK){
976
return lcurl_fail_ex(L, p->err_mode, LCURL_ERROR_EASY, code);
977
}
978
- curl_easy_setopt(p->curl, CURLOPT_TRAILERFUNCTION, NULL);
+ curl_easy_setopt(p->curl, CURLOPT_TRAILERDATA, NULL);
979
980
luaL_unref(L, LCURL_LUA_REGISTRY, p->trailer.cb_ref);
981
luaL_unref(L, LCURL_LUA_REGISTRY, p->trailer.ud_ref);
0 commit comments