summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-11-26 16:23:02 +0100
committerYang Tse <yangsita@gmail.com>2012-11-26 16:23:48 +0100
commit79954a1b07c6fc8ed4cf9d48c6383521b184c818 (patch)
tree3b910417595148ddb7174e7f30f734666af93c88 /lib
parentb33074d8931f2fd19f07ede99228abba393e2a4e (diff)
downloadcurl-79954a1b07c6fc8ed4cf9d48c6383521b184c818.tar.gz
avoid mixing of enumerated type with another type
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 601d8d364..a781798e9 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2943,7 +2943,7 @@ ConnectionExists(struct SessionHandle *data,
struct connectdata *chosen = 0;
bool canPipeline = IsPipeliningPossible(data, needle);
bool wantNTLM = (data->state.authhost.want==CURLAUTH_NTLM) ||
- (data->state.authhost.want==CURLAUTH_NTLM_WB);
+ (data->state.authhost.want==CURLAUTH_NTLM_WB) ? TRUE : FALSE;
for(i=0; i< data->state.connc->num; i++) {
bool match = FALSE;