diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-13 16:58:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-13 16:59:02 +0200 |
commit | 62238c8bd5f1c59fe5bf9e97bec29d5a4562f4ef (patch) | |
tree | 3f61dc0081206ab40c7b04535c71bbf17070997f | |
parent | 362d59edabe126b52fb626300d3f28054ea0f54c (diff) | |
download | curl-bagder/curl_version-quic.tar.gz |
curl_version_info: make the quic_version a constbagder/curl_version-quic
Follow-up from 1a2df1518ad8653f
-rw-r--r-- | docs/libcurl/curl_version_info.3 | 2 | ||||
-rw-r--r-- | include/curl/curl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/curl_version_info.3 b/docs/libcurl/curl_version_info.3 index 4476677b4..de56c4c6d 100644 --- a/docs/libcurl/curl_version_info.3 +++ b/docs/libcurl/curl_version_info.3 @@ -84,7 +84,7 @@ typedef struct { (MAJOR << 16) | (MINOR << 8) | PATCH */ const char *nghttp2_version; /* human readable string. */ - char *quic_version; /* human readable quic (+ HTTP/3) library + + const char *quic_version; /* human readable quic (+ HTTP/3) library + version or NULL */ } curl_version_info_data; diff --git a/include/curl/curl.h b/include/curl/curl.h index 9131f117d..66c27b773 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -2762,7 +2762,7 @@ typedef struct { unsigned int nghttp2_ver_num; /* Numeric nghttp2 version (MAJOR << 16) | (MINOR << 8) | PATCH */ const char *nghttp2_version; /* human readable string. */ - char *quic_version; /* human readable quic (+ HTTP/3) library + + const char *quic_version; /* human readable quic (+ HTTP/3) library + version or NULL */ } curl_version_info_data; |