mirror of
https://github.com/curl/curl.git
synced 2026-07-24 09:57:21 +03:00
lib/src/docs/test: improve curl_easy_setopt() calls
Fix invokes where the argument was not the correct type. Closes #17160
This commit is contained in:
parent
179aeeaf22
commit
f9f1a15699
22 changed files with 39 additions and 34 deletions
|
|
@ -161,7 +161,7 @@ int main(void)
|
|||
/* call this function to set options for the socket */
|
||||
curl_easy_setopt(curl, CURLOPT_SOCKOPTFUNCTION, sockopt_callback);
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue