aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index c5dc801937..e0b6a80dc7 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -176,6 +176,7 @@ __res_vinit(res_state statp, int preinit) {
}
statp->nscount = 0;
+ statp->defdname[0] = '\0';
statp->ndots = 1;
statp->pfcode = 0;
statp->_vcsock = -1;