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
This commit is contained in:
Jason Parker
2007-07-10 19:11:25 +00:00
parent d459994f7c
commit 7c29e430c9

View File

@@ -229,7 +229,7 @@ int ast_search_dns(void *context,
ret = 1; ret = 1;
} }
#ifdef HAVE_RES_NINIT #ifdef HAVE_RES_NINIT
#if HAVE_RES_NDESTROY #ifdef HAVE_RES_NDESTROY
res_ndestroy(&dnsstate); res_ndestroy(&dnsstate);
#else #else
res_nclose(&dnsstate); res_nclose(&dnsstate);