aboutsummaryrefslogtreecommitdiffstats
path: root/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'dns.c')
-rwxr-xr-xdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns.c b/dns.c
index 3c89c3c8b..da4527474 100755
--- a/dns.c
+++ b/dns.c
@@ -181,7 +181,7 @@ int ast_search_dns(void *context,
ret = 1;
}
#if defined(__Linux__)
- res_nclose(&srvstate);
+ res_nclose(&dnsstate);
#else
#ifndef __APPLE__
res_close();