Skip to content

Commit

Permalink
fixup ftp undo whitespace edits
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jan 2, 2023
1 parent 13a479c commit 1af9401
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions lib/ftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ static void _state(struct Curl_easy *data,
#endif
#endif

ftpc->state = (unsigned char)newstate;
ftpc->state = newstate;
}

static CURLcode ftp_state_user(struct Curl_easy *data,
Expand Down Expand Up @@ -1635,7 +1635,8 @@ static CURLcode ftp_state_ul_setup(struct Curl_easy *data,
return result;
}

static CURLcode ftp_state_quote(struct Curl_easy *data, bool init,
static CURLcode ftp_state_quote(struct Curl_easy *data,
bool init,
ftpstate instate)
{
CURLcode result = CURLE_OK;
Expand Down Expand Up @@ -2139,7 +2140,8 @@ static CURLcode ftp_state_mdtm_resp(struct Curl_easy *data,
}

static CURLcode ftp_state_type_resp(struct Curl_easy *data,
int ftpcode, ftpstate instate)
int ftpcode,
ftpstate instate)
{
CURLcode result = CURLE_OK;
struct connectdata *conn = data->conn;
Expand Down Expand Up @@ -2252,7 +2254,8 @@ static CURLcode ftp_state_retr(struct Curl_easy *data,
}

static CURLcode ftp_state_size_resp(struct Curl_easy *data,
int ftpcode, ftpstate instate)
int ftpcode,
ftpstate instate)
{
CURLcode result = CURLE_OK;
curl_off_t filesize = -1;
Expand Down Expand Up @@ -2315,7 +2318,8 @@ static CURLcode ftp_state_size_resp(struct Curl_easy *data,

static CURLcode ftp_state_rest_resp(struct Curl_easy *data,
struct connectdata *conn,
int ftpcode, ftpstate instate)
int ftpcode,
ftpstate instate)
{
CURLcode result = CURLE_OK;
struct ftp_conn *ftpc = &conn->proto.ftpc;
Expand Down Expand Up @@ -2389,7 +2393,8 @@ static CURLcode ftp_state_stor_resp(struct Curl_easy *data,

/* for LIST and RETR responses */
static CURLcode ftp_state_get_resp(struct Curl_easy *data,
int ftpcode, ftpstate instate)
int ftpcode,
ftpstate instate)
{
CURLcode result = CURLE_OK;
struct FTP *ftp = data->req.p.ftp;
Expand Down

0 comments on commit 1af9401

Please sign in to comment.