curl_version_info: make the quic_version a const

Follow-up from 1a2df1518a

Closes #4222
This commit is contained in:
Daniel Stenberg 2019-08-13 16:58:18 +02:00
parent f3c34bf83c
commit aae490229b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;