mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:23:32 +03:00
parent
b7c9166c4c
commit
b70e8f4b9b
8 changed files with 17 additions and 17 deletions
|
|
@ -1471,7 +1471,7 @@ static CURLcode ftp_state_prepare_transfer(struct Curl_easy *data)
|
|||
struct ftp_conn *ftpc = &conn->proto.ftpc;
|
||||
if(!conn->proto.ftpc.file)
|
||||
result = Curl_pp_sendf(data, &ftpc->pp, "PRET %s",
|
||||
data->set.str[STRING_CUSTOMREQUEST]?
|
||||
data->set.str[STRING_CUSTOMREQUEST] ?
|
||||
data->set.str[STRING_CUSTOMREQUEST] :
|
||||
(data->state.list_only ? "NLST" : "LIST"));
|
||||
else if(data->state.upload)
|
||||
|
|
@ -1578,7 +1578,7 @@ static CURLcode ftp_state_list(struct Curl_easy *data)
|
|||
}
|
||||
|
||||
cmd = aprintf("%s%s%s",
|
||||
data->set.str[STRING_CUSTOMREQUEST]?
|
||||
data->set.str[STRING_CUSTOMREQUEST] ?
|
||||
data->set.str[STRING_CUSTOMREQUEST] :
|
||||
(data->state.list_only ? "NLST" : "LIST"),
|
||||
lstArg ? " " : "",
|
||||
|
|
|
|||
|
|
@ -1837,7 +1837,7 @@ CURLcode Curl_http_target(struct Curl_easy *data,
|
|||
curl_url_cleanup(h);
|
||||
|
||||
/* target or URL */
|
||||
result = Curl_dyn_add(r, data->set.str[STRING_TARGET]?
|
||||
result = Curl_dyn_add(r, data->set.str[STRING_TARGET] ?
|
||||
data->set.str[STRING_TARGET] : url);
|
||||
free(url);
|
||||
if(result)
|
||||
|
|
|
|||
|
|
@ -984,7 +984,7 @@ number:
|
|||
*fptr++ = 'l';
|
||||
|
||||
if(flags & FLAGS_FLOATE)
|
||||
*fptr++ = (char)((flags & FLAGS_UPPER) ? 'E':'e');
|
||||
*fptr++ = (char)((flags & FLAGS_UPPER) ? 'E' : 'e');
|
||||
else if(flags & FLAGS_FLOATG)
|
||||
*fptr++ = (char)((flags & FLAGS_UPPER) ? 'G' : 'g');
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue