summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index f334d0586..154734dc5 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -3575,6 +3575,7 @@ res_init(void)
if (!_res.id)
_res.id = res_randomid();
+ __res_sync = NULL;
__res_vinit(&_res, 1);
__res_sync = res_sync_func;