diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-01 17:52:11 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-01 17:52:11 +0000 |
commit | f5efde90a846148c64a056ede06d636c5d3c4833 (patch) | |
tree | 34034d5b45b532511707df3eb44bde32e38b5b1a /main/utils.c | |
parent | dec0a94ce31633c984850df74531bf4a2d09fd58 (diff) |
Whoops, I meant R_5 not R5.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77867 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r-- | main/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c index e85618048..9a54622a9 100644 --- a/main/utils.c +++ b/main/utils.c @@ -212,7 +212,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]) |