mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
fix uninitialized variable in new resolv.conf parser
This commit is contained in:
parent
3d6e2e477c
commit
dcad020c9c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue