silence compiler warnings
This commit is contained in:
Родитель
5c30fa50d6
Коммит
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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче