X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=dns.c;h=da4527474d96fb8fd927407bf91081c5683d1350;hp=3c89c3c8b6accde864b0bdbdff250ba8f3e04931;hb=80904fddcf980212621d2245fb96e902e3ed5a4e;hpb=550785ba290961efff695e48f8e0aa91b1c0c8c3 diff --git a/dns.c b/dns.c index 3c89c3c..da45274 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();