clang-tidy: add more missing parentheses in macro values
No binary (build failed)
—
(log yok)
| @@ -78,7 +78,7 @@ struct cf_quic_ctx { | |
| }; | |
| #define H3_STREAM_CTX(ctx, data) \ | |
| - | (data ? Curl_uint32_hash_get(&(ctx)->streams, (data)->mid) : NULL) |
| + | ((data) ? Curl_uint32_hash_get(&(ctx)->streams, (data)->mid) : NULL) |
| CURLcode vquic_ctx_init(struct Curl_easy *data, | |
| struct cf_quic_ctx *qctx); | |
| @@ -50,8 +50,8 @@ struct dynbuf; | |
| #ifdef USE_ECH | |
| #include "curlx/base64.h" | |
| - | #define ECH_ENABLED(__data__) \ |
| - | (__data__->set.tls_ech && !(__data__->set.tls_ech & CURLECH_DISABLE)) |
| + | #define ECH_ENABLED(data) \ |
| + | ((data)->set.tls_ech && !((data)->set.tls_ech & CURLECH_DISABLE)) |
| #endif /* USE_ECH */ | |
| #define ALPN_ACCEPTED "ALPN: server accepted " | |