[Asterisk-cvs] asterisk utils.c,1.42,1.43

markster at lists.digium.com markster at lists.digium.com
Mon May 9 09:44:22 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv29617

Modified Files:
	utils.c 
Log Message:
Provide proper code attribution for public domain gethostbyname_r


Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- utils.c	4 May 2005 04:05:34 -0000	1.42
+++ utils.c	9 May 2005 13:50:38 -0000	1.43
@@ -53,7 +53,10 @@
 
 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 at 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) 




More information about the svn-commits mailing list