mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:03:31 +03:00
curl: add my_setopt_long() and _offt()
Two new dedicated functions for setting long and curl_off_t options with curl_easy_setopt(). These make it easier to make sure we pass on the right option (types) so that the --libcurl code also gets right. Corrected a few errors. Closes #16669
This commit is contained in:
parent
763fa529df
commit
dc12ecd5db
4 changed files with 197 additions and 195 deletions
|
|
@ -51,7 +51,7 @@ static CURLcode tool_ssls_easy(struct GlobalConfig *global,
|
|||
if(!result && (global->tracetype != TRACE_NONE)) {
|
||||
my_setopt(*peasy, CURLOPT_DEBUGFUNCTION, tool_debug_cb);
|
||||
my_setopt(*peasy, CURLOPT_DEBUGDATA, config);
|
||||
my_setopt(*peasy, CURLOPT_VERBOSE, 1L);
|
||||
my_setopt_long(*peasy, CURLOPT_VERBOSE, 1L);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue