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