tool_operate: fix `CURLOPT_SOCKS5_GSSAPI_NEC` type
`CURLOPT_SOCKS5_GSSAPI_NEC` is a long, while `socks5_gssapi_nec` was
made a bool in commit 4ac64eadf6
.
Closes https://github.com/curl/curl/pull/10124
This commit is contained in:
Родитель
c12fb3ddaf
Коммит
03ac7ab4ad
|
@ -1939,8 +1939,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
|
|||
|
||||
/* new in curl 7.19.4 */
|
||||
if(config->socks5_gssapi_nec)
|
||||
my_setopt_str(curl, CURLOPT_SOCKS5_GSSAPI_NEC,
|
||||
config->socks5_gssapi_nec);
|
||||
my_setopt_str(curl, CURLOPT_SOCKS5_GSSAPI_NEC, 1L);
|
||||
|
||||
/* new in curl 7.55.0 */
|
||||
if(config->socks5_auth)
|
||||
|
|
Загрузка…
Ссылка в новой задаче