Use getaddrinfo instead of gethostbyname
authorPavel Labath <pavelo@centrum.sk>
Sun, 15 Aug 2010 12:56:46 +0000 (14:56 +0200)
committerPavel Labath <pavelo@centrum.sk>
Sun, 15 Aug 2010 17:58:03 +0000 (19:58 +0200)
commit74392a5491ca8938a68d94440488bc303bd31ac8
tree028d00308454bc0476e9e938217381b87f31fa4f
parenta25985f00b5956e1100900a50986fd89ff560812
Use getaddrinfo instead of gethostbyname

Patches conky to use getaddrinfo instead of gethostbyname everywhere. gethostbyname is rather
flawed and doesn't support IPv6 properly.

Patch contributed by Pascal Bleser
src/apcupsd.c
src/mail.c
src/read_tcp.c