]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: replace gethostbyname() with getaddrinfo()
authorSami Kerola <kerolasa@iki.fi>
Fri, 12 Oct 2012 20:28:41 +0000 (21:28 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Oct 2012 08:14:24 +0000 (10:14 +0200)
commit24f4db69724ab5dc8144eddb2d2feaa631245787
treec713bfacebfc1ef4eee062ee2696c41161cbd2d3
parent913e43b8e2dedbac69880e26fc1eead509fb666e
logger: replace gethostbyname() with getaddrinfo()

The gethostbyname() is legacy function which may be withdrawn in a
future.

Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/gethostbyname.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/logger.c