mirror of
https://github.com/curl/curl.git
synced 2026-04-24 01:12:12 +03:00
altsvc: fix 'dsthost' may be used uninitialized in this function
This commit is contained in:
parent
2bf7d1b1d2
commit
74368dc6ae
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ CURLcode Curl_altsvc_parse(struct Curl_easy *data,
|
|||
dstalpnid = alpn2alpnid(alpnbuf);
|
||||
p++;
|
||||
if(*p == '\"') {
|
||||
const char *dsthost;
|
||||
const char *dsthost = "";
|
||||
const char *value_ptr;
|
||||
char option[32];
|
||||
unsigned long num;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue