From 7c29e430c91fce45d6fe9df1749c2bd041e97f6c Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Tue, 10 Jul 2007 19:11:25 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@74390 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/dns.c') 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); -- cgit v1.2.3