summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2023-07-09 19:31:14 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2023-07-09 19:56:23 +0200
commit105d5bc7b567eade456490b328dde9ba8f5e558f (patch)
tree8a785a860c87da1dc1d77ae1bb9b82572626e002 /src
parentcontrib: upgrade embedded library ngtcp2 to v0.17.0 (diff)
downloadknot-105d5bc7b567eade456490b328dde9ba8f5e558f.tar.xz
knot-105d5bc7b567eade456490b328dde9ba8f5e558f.zip
quic: adapt to ngtcp2 v0.17.0
Diffstat (limited to 'src')
-rw-r--r--src/libknot/quic/quic_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libknot/quic/quic_conn.c b/src/libknot/quic/quic_conn.c
index 944bf4512..32caacd83 100644
--- a/src/libknot/quic/quic_conn.c
+++ b/src/libknot/quic/quic_conn.c
@@ -240,7 +240,7 @@ void knot_quic_table_rem(knot_quic_conn_t *conn, knot_quic_table_t *table)
assert(conn->streams_count <= 0);
assert(conn->obufs_size == 0);
- size_t num_scid = ngtcp2_conn_get_num_scid(conn->conn);
+ size_t num_scid = ngtcp2_conn_get_scid(conn->conn, NULL);
ngtcp2_cid *scids = calloc(num_scid, sizeof(*scids));
ngtcp2_conn_get_scid(conn->conn, scids);