mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:53:36 +03:00
ftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabled
warning C4706: assignment within conditional expression
This commit is contained in:
parent
4ff2fbd1d5
commit
c142e73142
5 changed files with 18 additions and 14 deletions
|
|
@ -910,8 +910,8 @@ static CURLcode imap_state_capability_resp(struct connectdata *conn,
|
|||
wordlen -= 5;
|
||||
|
||||
/* Test the word for a matching authentication mechanism */
|
||||
if((mechbit = Curl_sasl_decode_mech(line, wordlen, &llen)) &&
|
||||
llen == wordlen)
|
||||
mechbit = Curl_sasl_decode_mech(line, wordlen, &llen);
|
||||
if(mechbit && llen == wordlen)
|
||||
imapc->sasl.authmechs |= mechbit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue