aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib510.c
diff options
context:
space:
mode:
authorYves Arrouye <yarrouye@expedia.com>2013-01-14 20:06:32 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-01-16 15:49:31 +0100
commit4ed6b07d8dbf6a61aeba1eb8ac802f0b6a65c082 (patch)
tree7807ebdea79a4e69e25784ad34e0ec7bad62b711 /tests/libtest/lib510.c
parent533c31b78550603017f895180f301b760471c762 (diff)
--libcurl: fix for non-zero default options
If the default value for an option taking a long as its value is non zero, and it is set by zero by a command line option, then that command line option is not reflected in --libcurl's output. This is because line 520-521 of tool_setopt.c look like: if(!lval) skip = TRUE; An example of a command-line option doing so is the -k option that sets CURLOPT_SLL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to 0L, when the defaults are non-zero.
Diffstat (limited to 'tests/libtest/lib510.c')
0 files changed, 0 insertions, 0 deletions