mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05: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
@ -580,7 +580,7 @@ static int cb_recv_stream_data(ngtcp2_conn *tconn, uint32_t flags,
|
|||||||
{
|
{
|
||||||
struct quicsocket *qs = (struct quicsocket *)user_data;
|
struct quicsocket *qs = (struct quicsocket *)user_data;
|
||||||
ssize_t nconsumed;
|
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)offset;
|
||||||
(void)stream_user_data;
|
(void)stream_user_data;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user