summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-07-12 16:32:10 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-07-12 17:53:08 +0200
commit0d4c3618e9ba0d62c82780f49dc52db3ac8f9e55 (patch)
tree6bfa695efceee28517c0a673f435bde78bc25c2a /lib
parent9466034561d55a0c43111c5c928ebef70ba95507 (diff)
downloadcurl-0d4c3618e9ba0d62c82780f49dc52db3ac8f9e55.tar.gz
ngtcp2: update to modified qlog callback prototype
Closes #5675
Diffstat (limited to 'lib')
-rw-r--r--lib/vquic/ngtcp2.c4
1 files changed, 3 insertions, 1 deletions
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) {