From 0d4c3618e9ba0d62c82780f49dc52db3ac8f9e55 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 12 Jul 2020 16:32:10 +0200 Subject: [PATCH] ngtcp2: update to modified qlog callback prototype Closes #5675 --- lib/vquic/ngtcp2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index d29cb378d..7c27b4dbc 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -150,9 +150,11 @@ quic_from_gtls_level(gnutls_record_encryption_level_t gtls_level) } #endif -static void qlog_callback(void *user_data, const void *data, size_t datalen) +static void qlog_callback(void *user_data, uint32_t flags, + const void *data, size_t datalen) { struct quicsocket *qs = (struct quicsocket *)user_data; + (void)flags; if(qs->qlogfd != -1) { ssize_t rc = write(qs->qlogfd, data, datalen); if(rc == -1) {