summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;