From: Mark Spencer Date: Mon, 9 May 2005 13:50:38 +0000 (+0000) Subject: Provide proper code attribution for public domain gethostbyname_r X-Git-Tag: 1.2.0-beta1~710 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b308bdb50ca24d40a6f2cf14919a6aaa04d7178;p=thirdparty%2Fasterisk.git Provide proper code attribution for public domain gethostbyname_r git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5609 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils.c b/utils.c index f5fe76e20f..5264ecc053 100755 --- a/utils.c +++ b/utils.c @@ -53,7 +53,10 @@ char *ast_strip(char *buf) AST_MUTEX_DEFINE_STATIC(__mutex); -/* Recursive replacement for gethostbyname for BSD-based systems */ +/* Recursive replacement for gethostbyname for BSD-based systems. This +routine is derived from code originally written and placed in the public +domain by Enzo Michelangeli */ + static int gethostbyname_r (const char *name, struct hostent *ret, char *buf, size_t buflen, struct hostent **result, int *h_errnop)