mirror of
https://github.com/curl/curl.git
synced 2026-08-03 09:40:27 +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
|
|
@ -86,7 +86,7 @@ int main(void)
|
|||
/* We activate ssh agent. For this to work you need
|
||||
to have ssh-agent running (type set | grep SSH_AGENT to check) or
|
||||
pageant on Windows (there is an icon in systray if so) */
|
||||
curl_easy_setopt(curl, CURLOPT_SSH_AUTH_TYPES, CURLSSH_AUTH_AGENT);
|
||||
curl_easy_setopt(curl, CURLOPT_SSH_AUTH_TYPES, (long)CURLSSH_AUTH_AGENT);
|
||||
#endif
|
||||
|
||||
/* Switch on full protocol/debug output */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue