mirror of git://git.musl-libc.org/musl
fix uninitialized variable in new resolv.conf parser
This commit is contained in:
parent
3d6e2e477c
commit
dcad020c9c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue