fix compiler warning: enumerated type mixed with another type

This commit is contained in:
Yang Tse
2010-05-31 17:22:43 +02:00
parent b4fa27ae4b
commit 0546d448ce
2 changed files with 2 additions and 2 deletions

View File

@@ -4172,7 +4172,7 @@ static CURLcode parse_url_userpass(struct SessionHandle *data,
* set user/passwd, but doing that first adds more cases here :-(
*/
conn->bits.userpwd_in_url = 1;
conn->bits.userpwd_in_url = TRUE;
if(data->set.use_netrc != CURL_NETRC_REQUIRED) {
/* We could use the one in the URL */