aboutsummaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-22 18:08:23 +0200
committerYang Tse <yangsita@gmail.com>2013-07-22 21:40:43 +0200
commitbb2e0686abb01a04e3edc443ba72d18b744c3068 (patch)
treebeaa2763732b8f35bf2029ba45ae2921e71ac766 /lib/url.h
parent513e587c5eb966038731530c8f47fe0cf27513ce (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/url.h')
0 files changed, 0 insertions, 0 deletions