mirror of
https://github.com/curl/curl.git
synced 2025-09-17 09:32:48 +03:00
parent
3fa343a35c
commit
fe14ff6150
|
@ -426,7 +426,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
arg = va_arg(param, long);
|
||||
if((arg < CURL_NETRC_IGNORED) || (arg >= CURL_NETRC_LAST))
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
data->set.use_netrc = (enum CURL_NETRC_OPTION)arg;
|
||||
data->set.use_netrc = (unsigned char)arg;
|
||||
break;
|
||||
case CURLOPT_NETRC_FILE:
|
||||
/*
|
||||
|
|
|
@ -1769,8 +1769,7 @@ struct UserDefined {
|
|||
curl_sshkeycallback ssh_keyfunc; /* key matching callback */
|
||||
void *ssh_keyfunc_userp; /* custom pointer to callback */
|
||||
#ifndef CURL_DISABLE_NETRC
|
||||
enum CURL_NETRC_OPTION
|
||||
use_netrc; /* defined in include/curl.h */
|
||||
unsigned char use_netrc; /* enum CURL_NETRC_OPTION values */
|
||||
#endif
|
||||
curl_usessl use_ssl; /* if AUTH TLS is to be attempted etc, for FTP or
|
||||
IMAP or POP3 or others! */
|
||||
|
|
Loading…
Reference in New Issue
Block a user