summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-02-09 23:25:20 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-09 23:25:20 +0100
commitec5d9b44a2e837fc7b82d1c60d5fae3f851620dc (patch)
treef48a1d850b786e3ddf847270ef3e56f7a970405e
parent69a396f59362eba6821645fd0e8c7ad8f23fc1ab (diff)
downloadcurl-ec5d9b44a2e837fc7b82d1c60d5fae3f851620dc.tar.gz
ngtcp2: adapt to the new recv_datagram callback
-rw-r--r--lib/vquic/ngtcp2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 08218890c..aae13f942 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -739,7 +739,8 @@ static ngtcp2_callbacks ng_callbacks = {
NULL, /* handshake_confirmed */
NULL, /* recv_new_token */
ngtcp2_crypto_delete_crypto_aead_ctx_cb,
- ngtcp2_crypto_delete_crypto_cipher_ctx_cb
+ ngtcp2_crypto_delete_crypto_cipher_ctx_cb,
+ NULL /* recv_datagram */
};
/*