Merged revisions 77867 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 1 Aug 2007 17:53:09 +0000 (17:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 1 Aug 2007 17:53:09 +0000 (17:53 +0000)
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: https://origsvn.digium.com/svn/asterisk/trunk@77868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/utils.c

index 098edc1..13a2445 100644 (file)
@@ -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])