gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 146/220: ngtcp2: use ngtcp2_version() to get the ru


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 146/220: ngtcp2: use ngtcp2_version() to get the run-time version
Date: Thu, 12 Sep 2019 17:28:26 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 1a0dc6f6a31fe0c7dd83af9f6f4531b37cdd72a5
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Aug 19 23:04:45 2019 +0200

    ngtcp2: use ngtcp2_version() to get the run-time version
    
    ... which of course doesn't have to be the same used at build-time.
    
    Function just recently merged in ngtcp2.
---
 lib/vquic/ngtcp2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index bd24df35d..9a1fd1690 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -1149,8 +1149,9 @@ CURLcode Curl_quic_connect(struct connectdata *conn,
  */
 int Curl_quic_ver(char *p, size_t len)
 {
+  ngtcp2_info *ng2 = ngtcp2_version(0);
   return msnprintf(p, len, " ngtcp2/%s nghttp3/%s",
-                   NGTCP2_VERSION, NGHTTP3_VERSION);
+                   ng2->version_str, NGHTTP3_VERSION);
 }
 
 static int ng_getsock(struct connectdata *conn, curl_socket_t *socks)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]