node-curl icon indicating copy to clipboard operation
node-curl copied to clipboard

segfault on 64-bit

Open briancsparks opened this issue 10 years ago • 0 comments

Per the instructions on the libcurl site: you must pass a pointer to a long (not an int) when calling curl_easy_getinfo() with a numeric option (like RESPONSE_CODE).

Line 280 of node-curl.h uses "int" as the CType template parameter, when it should be a "long".

Changing this line and re-compiling fixes the issue for me.

briancsparks avatar May 29 '14 19:05 briancsparks