diff options
author | Yang Tse <yangsita@gmail.com> | 2013-07-22 18:08:23 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-07-22 21:40:43 +0200 |
commit | bb2e0686abb01a04e3edc443ba72d18b744c3068 (patch) | |
tree | beaa2763732b8f35bf2029ba45ae2921e71ac766 /lib/http_chunks.h | |
parent | 513e587c5eb966038731530c8f47fe0cf27513ce (diff) |
tool_operate.c: fix passing curl_easy_setopt long arg on some x64 ABIs
We no longer pass our 'bool' data type variables nor constants as
an argument to my_setopt(), instead we use proper 1L or 0L values.
This also fixes macro used to pass string argument for CURLOPT_SSLCERT,
CURLOPT_SSLKEY and CURLOPT_EGDSOCKET using my_setopt_str() instead of
my_setopt().
This also casts enum or int argument data types to long when passed to
my_setopt_enum().
Diffstat (limited to 'lib/http_chunks.h')
0 files changed, 0 insertions, 0 deletions