From c22f46307143294ec399dd088e8428dd70aea7b9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 17 Apr 2024 15:12:32 +0200 Subject: [PATCH] ngtcp2: fix macro use macro "H3_STREAM_CTX" requires 2 arguments, but only 1 given Follow-up to c6655f7029ec5c128561e3ecf1f93db3ed0432a4 Closes #13401 --- lib/vquic/curl_ngtcp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vquic/curl_ngtcp2.c b/lib/vquic/curl_ngtcp2.c index 048c2f5f97..50fe7af701 100644 --- a/lib/vquic/curl_ngtcp2.c +++ b/lib/vquic/curl_ngtcp2.c @@ -416,7 +416,7 @@ static int cb_recv_stream_data(ngtcp2_conn *tconn, uint32_t flags, nghttp3_ssize nconsumed; int fin = (flags & NGTCP2_STREAM_DATA_FLAG_FIN) ? 1 : 0; struct Curl_easy *data = stream_user_data; - struct h3_stream_ctx *stream = H3_STREAM_CTX(data); + struct h3_stream_ctx *stream = H3_STREAM_CTX(ctx, data); (void)offset; (void)data;