diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-08-11 20:43:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-08-11 20:43:12 +0000 |
commit | 171eef68c3d0e683acc0f422978e28d1d01cf41f (patch) | |
tree | 916fb07e1b43f100e5aa44d2ac420100ec505af1 /lib/url.c | |
parent | 33368ebd021d75f14070cae3afb1d6f706393528 (diff) |
- 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.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3862,7 +3862,7 @@ static CURLcode parse_url_userpass(struct SessionHandle *data, if(data->set.use_netrc != CURL_NETRC_REQUIRED) { /* We could use the one in the URL */ - conn->bits.user_passwd = 1; /* enable user+password */ + conn->bits.user_passwd = TRUE; /* enable user+password */ if(*userpass != ':') { /* the name is given, get user+password */ @@ -4027,7 +4027,7 @@ static void override_userpass(struct SessionHandle *data, different host or similar. */ conn->bits.netrc = TRUE; - conn->bits.user_passwd = 1; /* enable user+password */ + conn->bits.user_passwd = TRUE; /* enable user+password */ } } } |