Fix. Set chunk end callback.

This commit is contained in:
Alexey Melnichuk 2017-07-13 11:14:36 +03:00
parent 36ea4c532f
commit 2a43abc939

View File

@ -1324,7 +1324,7 @@ static int lcurl_easy_set_CHUNK_BGN_FUNCTION(lua_State *L){
static int lcurl_easy_set_CHUNK_END_FUNCTION(lua_State *L){
lcurl_easy_t *p = lcurl_geteasy(L);
return lcurl_easy_set_callback(L, p, &p->chunk_bgn,
return lcurl_easy_set_callback(L, p, &p->chunk_end,
CURLOPT_CHUNK_END_FUNCTION, CURLOPT_CHUNK_DATA,
"chunk_bgn", lcurl_chunk_bgn_callback
);