![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
17 May
2018
17 May
'18
3:03 a.m.
On 17 May 2018, at 10:31, Taco Hoekwater
wrote: Anyway, perhaps someone can answer me this? I tried the ffi/curl code, and the network stuff works, but only when I comment out the write callback:
lcurl.curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, ffi.cast("callback",discard));
If I dont, I get an error message from ffi that is:
unable to convert argument 3 from cdata
to cdata<vararg> stack traceback: [C]: in function 'curl_easy_setopt' [ctxlua]:42: in function 'check_status' [ctxlua]:1: in main chunk And I have no idea what that actually means or how to fix it?
FYI: fixed by updating luatex. Best wishes, Taco