diff options
author | Mark Spencer <markster@digium.com> | 2005-05-09 13:50:38 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-05-09 13:50:38 +0000 |
commit | 8b308bdb50ca24d40a6f2cf14919a6aaa04d7178 (patch) | |
tree | 8b162576e559dfe41a5c408df154368de94161a8 | |
parent | 49a7a4809a5ce6ce9386a227222f6db69e839048 (diff) |
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
-rwxr-xr-x | utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 <em@em.no-ip.com> */ + static int gethostbyname_r (const char *name, struct hostent *ret, char *buf, size_t buflen, struct hostent **result, int *h_errnop) |