aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-01 17:53:09 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-01 17:53:09 +0000
commitc161546c0f53c68fda6b33e597418b38933e89b8 (patch)
treec3d9546808de44e37544e1532c9a8a8c3992da20 /main
parent0884134107fb8a56d09a088be5b17c5c501fd448 (diff)
Merged revisions 77867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77867 | file | 2007-08-01 14:52:11 -0300 (Wed, 01 Aug 2007) | 2 lines Whoops, I meant R_5 not R5. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77868 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c
index 098edc172..13a24454e 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -217,7 +217,7 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp)
return NULL;
}
-#ifdef HAVE_GETHOSTBYNAME_R5
+#ifdef HAVE_GETHOSTBYNAME_R_5
result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno);
if (!result || !hp->hp.h_addr_list || !hp->hp.h_addr_list[0])