mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
Whoops, I meant R_5 not R5.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@77867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -212,7 +212,7 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifdef HAVE_GETHOSTBYNAME_R5
|
#ifdef HAVE_GETHOSTBYNAME_R_5
|
||||||
result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno);
|
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])
|
if (!result || !hp->hp.h_addr_list || !hp->hp.h_addr_list[0])
|
||||||
|
Reference in New Issue
Block a user