mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
ngtcp2: clarify calculation precedence
As suggested by Codacy/cppcheck. Closes https://github.com/curl/curl/pull/6576
This commit is contained in:
parent
1636076e70
commit
89193ed518
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ static int cb_recv_stream_data(ngtcp2_conn *tconn, uint32_t flags,
|
|||
{
|
||||
struct quicsocket *qs = (struct quicsocket *)user_data;
|
||||
ssize_t nconsumed;
|
||||
int fin = flags & NGTCP2_STREAM_DATA_FLAG_FIN ? 1 : 0;
|
||||
int fin = (flags & NGTCP2_STREAM_DATA_FLAG_FIN) ? 1 : 0;
|
||||
(void)offset;
|
||||
(void)stream_user_data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue