mirror of
https://github.com/curl/curl.git
synced 2026-06-07 22:14:16 +03:00
bump two urldata members to long
This commit is contained in:
parent
2985b559e9
commit
58e11341df
3 changed files with 6 additions and 6 deletions
|
|
@ -2760,8 +2760,8 @@ static CURLcode ftp_pp_statemachine(struct Curl_easy *data,
|
|||
ftpc->count1 = 1;
|
||||
break;
|
||||
default:
|
||||
failf(data, "unsupported parameter to CURLOPT_FTPSSLAUTH: %d",
|
||||
(int)data->set.ftpsslauth);
|
||||
failf(data, "unsupported parameter to CURLOPT_FTPSSLAUTH: %ld",
|
||||
data->set.ftpsslauth);
|
||||
return CURLE_UNKNOWN_OPTION; /* we do not know what to do */
|
||||
}
|
||||
result = Curl_pp_sendf(data, &ftpc->pp, "AUTH %s",
|
||||
|
|
|
|||
|
|
@ -883,7 +883,7 @@ static CURLcode setopt_long(struct Curl_easy *data, CURLoption option,
|
|||
case CURLOPT_FTP_SSL_CCC:
|
||||
if((arg < CURLFTPSSL_CCC_NONE) || (arg >= CURLFTPSSL_CCC_LAST))
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
data->set.ftp_ccc = (unsigned char)arg;
|
||||
data->set.ftp_ccc = arg;
|
||||
break;
|
||||
|
||||
case CURLOPT_FTP_SKIP_PASV_IP:
|
||||
|
|
@ -900,7 +900,7 @@ static CURLcode setopt_long(struct Curl_easy *data, CURLoption option,
|
|||
*/
|
||||
if((arg < CURLFTPAUTH_DEFAULT) || (arg >= CURLFTPAUTH_LAST))
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
data->set.ftpsslauth = (unsigned char)arg;
|
||||
data->set.ftpsslauth = arg;
|
||||
break;
|
||||
case CURLOPT_ACCEPTTIMEOUT_MS:
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1456,8 +1456,8 @@ struct UserDefined {
|
|||
#ifndef CURL_DISABLE_FTP
|
||||
timediff_t accepttimeout; /* in milliseconds, 0 means no timeout */
|
||||
unsigned char ftp_filemethod; /* how to get to a file: curl_ftpfile */
|
||||
unsigned char ftpsslauth; /* what AUTH XXX to try: curl_ftpauth */
|
||||
unsigned char ftp_ccc; /* FTP CCC options: curl_ftpccc */
|
||||
long ftpsslauth; /* what AUTH XXX to try: curl_ftpauth */
|
||||
long ftp_ccc; /* FTP CCC options: curl_ftpccc */
|
||||
#endif
|
||||
#if !defined(CURL_DISABLE_FTP) || defined(USE_SSH)
|
||||
struct curl_slist *quote; /* after connection is established */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue