Subject: CVS commit: othersrc/zoularis/bsd/lib/libbsdcompat
To: None <source-changes@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 09/21/2001 18:17:33
Module Name:	othersrc
Committed By:	wrstuden
Date:		Fri Sep 21 15:17:32 UTC 2001

Modified Files:
	othersrc/zoularis/bsd/lib/libbsdcompat: getaddrinfo.c

Log Message:
Always initialize ai_addrlen, even on systems which don't have
sin_len.  For now, since we only support IPv4 in this code, set
the length to sizeof(*sin). Initialize ai_family and sin_family
to AF_INET for now.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 othersrc/zoularis/bsd/lib/libbsdcompat/getaddrinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.