Commit e90d7ddf46438e2663998d81baf21c49118f9fc9

Paul Eggert 2005-09-23T19:41:05

* lib/getaddrinfo.c [HAVE_NETINET_IN_H]: Include <netinet/in.h>. Problem reported by Eric Blake. (getaddrinfo): Initialize se so that it's not garbage. Redo internal storage allocation so that it doesn't make unportable assumptions about alignment. Fix a memory leak. * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change; not needed, since socklen is a prerequisite module.