mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
ngtcp2: fix macro use
macro "H3_STREAM_CTX" requires 2 arguments, but only 1 given
Follow-up to c6655f7029
Closes #13401
This commit is contained in:
parent
b879edef7e
commit
c22f463071
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user