- Benbuck Nason posted the bug report #2835196

(http://curl.haxx.se/bug/view.cgi?id=2835196), fixing a few compiler
  warnings when mixing ints and bools.
This commit is contained in:
Daniel Stenberg
2009-08-11 20:43:12 +00:00
parent 33368ebd02
commit 171eef68c3
3 changed files with 9 additions and 4 deletions

View File

@@ -3529,7 +3529,7 @@ static CURLcode ftp_nextconnect(struct connectdata *conn)
/* But only if a body transfer was requested. */
if(ftp->transfer == FTPTRANSFER_BODY) {
result = ftp_nb_type(conn, 1, FTP_LIST_TYPE);
result = ftp_nb_type(conn, TRUE, FTP_LIST_TYPE);
if(result)
return result;
}
@@ -4093,7 +4093,7 @@ CURLcode ftp_regular_transfer(struct connectdata *conn,
bool *dophase_done)
{
CURLcode result=CURLE_OK;
bool connected=0;
bool connected=FALSE;
struct SessionHandle *data = conn->data;
struct ftp_conn *ftpc = &conn->proto.ftpc;
data->req.size = -1; /* make sure this is unknown at this point */