mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
silence compiler warnings
This commit is contained in:
parent
5c30fa50d6
commit
708ed6fded
@ -2678,7 +2678,7 @@ static CURLcode ftp_easy_statemach(struct connectdata *conn)
|
|||||||
|
|
||||||
rc = Curl_select(ftp->sendleft?CURL_SOCKET_BAD:sock, /* reading */
|
rc = Curl_select(ftp->sendleft?CURL_SOCKET_BAD:sock, /* reading */
|
||||||
ftp->sendleft?sock:CURL_SOCKET_BAD, /* writing */
|
ftp->sendleft?sock:CURL_SOCKET_BAD, /* writing */
|
||||||
timeout_ms);
|
(int)timeout_ms);
|
||||||
|
|
||||||
if(rc == -1) {
|
if(rc == -1) {
|
||||||
failf(data, "select error");
|
failf(data, "select error");
|
||||||
|
@ -2851,7 +2851,7 @@ int my_trace(CURL *handle, curl_infotype type,
|
|||||||
"*", "<", ">"
|
"*", "<", ">"
|
||||||
};
|
};
|
||||||
size_t i;
|
size_t i;
|
||||||
int st=0;
|
size_t st=0;
|
||||||
static bool newl = FALSE;
|
static bool newl = FALSE;
|
||||||
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user