From e9de8e78f0a73c5fa7e0a7aba6b85f3d8afa76d9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 4 Sep 2013 22:32:57 +0200 Subject: SASL: fix compiler warnings comparison between signed and unsigned integer expressions suggest parentheses around '&&' within '||' (twice) --- lib/imap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/imap.c') diff --git a/lib/imap.c b/lib/imap.c index 6b6d4ce45..220708785 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -579,9 +579,9 @@ static CURLcode imap_perform_authenticate(struct connectdata *conn) } else #endif - if((imapc->authmechs & SASL_MECH_XOAUTH2) && - (imapc->prefmech & SASL_MECH_XOAUTH2) && - (imapc->prefmech != SASL_AUTH_ANY) || conn->xoauth2_bearer) { + if(((imapc->authmechs & SASL_MECH_XOAUTH2) && + (imapc->prefmech & SASL_MECH_XOAUTH2) && + (imapc->prefmech != SASL_AUTH_ANY)) || conn->xoauth2_bearer) { mech = "XOAUTH2"; state1 = IMAP_AUTHENTICATE_XOAUTH2; state2 = IMAP_AUTHENTICATE_FINAL; -- cgit v1.2.3