avoid mixing of enumerated type with another type

This commit is contained in:
Yang Tse
2012-11-26 16:23:02 +01:00
parent b33074d893
commit 79954a1b07
6 changed files with 66 additions and 70 deletions

View File

@@ -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;