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:
Marcel Raad 2022-12-21 12:31:31 +01:00 committed by Daniel Stenberg
parent c12fb3ddaf
commit 03ac7ab4ad
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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)