mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 21:22:11 +00:00
fix uninitialized variable in new resolv.conf parser
This commit is contained in:
@ -10,7 +10,7 @@ int __get_resolv_conf(struct resolvconf *conf, char *search, size_t search_sz)
|
||||
char line[256];
|
||||
unsigned char _buf[256];
|
||||
FILE *f, _f;
|
||||
int nns;
|
||||
int nns = 0;
|
||||
|
||||
conf->ndots = 1;
|
||||
conf->timeout = 5;
|
||||
|
Reference in New Issue
Block a user