fix uninitialized variable in new resolv.conf parser

This commit is contained in:
Rich Felker 2016-01-28 20:50:30 -05:00
parent 3d6e2e477c
commit dcad020c9c
1 changed files with 1 additions and 1 deletions

View File

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