aboutsummaryrefslogtreecommitdiffstats
path: root/main/dns.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-10 19:11:25 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-10 19:11:25 +0000
commit918c04e047ed983c3c5d31e67a23eefb4abc19b7 (patch)
treef1be24a6dca228baff58331c687e4b4932f4e2fb /main/dns.c
parent3b401be7429bed37fc48e57e5d78e7b070920849 (diff)
Merged revisions 74388 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r74388 | qwell | 2007-07-10 14:10:36 -0500 (Tue, 10 Jul 2007) | 4 lines Don't use #if to check if something is defined - use #ifdef instead. Pointed out by kpfleming ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74390 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dns.c')
-rw-r--r--main/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dns.c b/main/dns.c
index d92243561..3456d9b9e 100644
--- a/main/dns.c
+++ b/main/dns.c
@@ -229,7 +229,7 @@ int ast_search_dns(void *context,
ret = 1;
}
#ifdef HAVE_RES_NINIT
-#if HAVE_RES_NDESTROY
+#ifdef HAVE_RES_NDESTROY
res_ndestroy(&dnsstate);
#else
res_nclose(&dnsstate);