Fix DNS variable name
authorMark Spencer <markster@digium.com>
Thu, 4 Mar 2004 05:31:43 +0000 (05:31 +0000)
committerMark Spencer <markster@digium.com>
Thu, 4 Mar 2004 05:31:43 +0000 (05:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2324 65c4cc65-6c06-0410-ace0-fbb531ad65f3

dns.c

diff --git a/dns.c b/dns.c
index 3c89c3c..da45274 100755 (executable)
--- a/dns.c
+++ b/dns.c
@@ -181,7 +181,7 @@ int ast_search_dns(void *context,
                        ret = 1;
        }
 #if defined(__Linux__)
                        ret = 1;
        }
 #if defined(__Linux__)
-       res_nclose(&srvstate);
+       res_nclose(&dnsstate);
 #else
 #ifndef __APPLE__
        res_close();
 #else
 #ifndef __APPLE__
        res_close();