Commit 708ed6fd authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

silence compiler warnings

parent 5c30fa50
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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");
+1 −1
Original line number Original line Diff line number Diff line
@@ -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) {