]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: fix macro use
authorDaniel Stenberg <daniel@haxx.se>
Wed, 17 Apr 2024 13:12:32 +0000 (15:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 Apr 2024 13:55:30 +0000 (15:55 +0200)
macro "H3_STREAM_CTX" requires 2 arguments, but only 1 given

Follow-up to c6655f7029ec5c128561e3ecf1f93db3ed0432a4

Closes #13401

lib/vquic/curl_ngtcp2.c

index 048c2f5f9791d695241875c5adf9b6777f87f53c..50fe7af701ac3956eac679ef48851a24308109ff 100644 (file)
@@ -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;