build: fix "clarify calculation precedence" warnings

Codacy/CppCheck warns about this. Consistently use parentheses as we
already do in some places to silence the warning.

Closes https://github.com/curl/curl/pull/3866
This commit is contained in:
Marcel Raad 2019-05-11 14:51:24 +02:00
parent 5f8b9fe81d
commit 6b3dde7fe6
No known key found for this signature in database
GPG key ID: FE4D8BC5EE1701DD
7 changed files with 15 additions and 13 deletions

View file

@ -3056,8 +3056,8 @@ void Curl_multi_dump(struct Curl_multi *multi)
continue;
}
fprintf(stderr, "[%s %s] ",
entry->action&CURL_POLL_IN?"RECVING":"",
entry->action&CURL_POLL_OUT?"SENDING":"");
(entry->action&CURL_POLL_IN)?"RECVING":"",
(entry->action&CURL_POLL_OUT)?"SENDING":"");
}
if(data->numsocks)
fprintf(stderr, "\n");