diff options
-rw-r--r-- | lib/ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2947,8 +2947,8 @@ static CURLcode Curl_ftp_multi_statemach(struct connectdata *conn, } rc = Curl_socket_ready(ftpc->sendleft?CURL_SOCKET_BAD:sock, /* reading */ - ftpc->sendleft?sock:CURL_SOCKET_BAD, /* writing */ - 0); + ftpc->sendleft?sock:CURL_SOCKET_BAD, /* writing */ + 0); if(rc == -1) { failf(data, "select/poll error"); @@ -2980,8 +2980,8 @@ static CURLcode ftp_easy_statemach(struct connectdata *conn) } rc = Curl_socket_ready(ftpc->sendleft?CURL_SOCKET_BAD:sock, /* reading */ - ftpc->sendleft?sock:CURL_SOCKET_BAD, /* writing */ - (int)timeout_ms); + ftpc->sendleft?sock:CURL_SOCKET_BAD, /* writing */ + (int)timeout_ms); if(rc == -1) { failf(data, "select/poll error"); |