Yaroslav Tykhiy b1d8d5cdd9 Clean up hostname and hostinfo handling in inithosts():
o check getaddrinfo(3) return value, not result pointer
o getaddrinfo(3) returns int, not pointer
o don't leak memory allocated for hostnames and hostinfo structures
o initialize pointers that will be checked for NULL somewhere

MFC after:	1 week
2002-08-20 14:56:06 +00:00
..
2002-08-13 13:56:42 +00:00
1999-08-28 00:22:10 +00:00
2002-07-17 05:47:49 +00:00