diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-09-04 22:32:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-09-04 22:33:29 +0200 |
commit | e9de8e78f0a73c5fa7e0a7aba6b85f3d8afa76d9 (patch) | |
tree | 4d28554b767e917ea412bb81309b920fd4f93c8a /lib/smtp.c | |
parent | 2eabb7d590aaa14c211e3a306582ff36fc3fc0f5 (diff) |
SASL: fix compiler warnings
comparison between signed and unsigned integer expressions
suggest parentheses around '&&' within '||' (twice)
Diffstat (limited to 'lib/smtp.c')
-rw-r--r-- | lib/smtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/smtp.c b/lib/smtp.c index c3650e1d9..7ba2ba464 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -500,9 +500,9 @@ static CURLcode smtp_perform_authenticate(struct connectdata *conn) } else #endif - if((smtpc->authmechs & SASL_MECH_XOAUTH2) && - (smtpc->prefmech & SASL_MECH_XOAUTH2) && - (smtpc->prefmech != SASL_AUTH_ANY) || conn->xoauth2_bearer) { + if(((smtpc->authmechs & SASL_MECH_XOAUTH2) && + (smtpc->prefmech & SASL_MECH_XOAUTH2) && + (smtpc->prefmech != SASL_AUTH_ANY)) || conn->xoauth2_bearer) { mech = "XOAUTH2"; state1 = SMTP_AUTH_XOAUTH2; state2 = SMTP_AUTH_FINAL; |