]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
tcp: use getaddrinfo() for hostname resolution 393/head
authorDamjan Marion <damjan.marion@gmail.com>
Thu, 22 May 2014 11:02:45 +0000 (13:02 +0200)
committerDamjan Marion <damjan.marion@gmail.com>
Thu, 22 May 2014 11:02:45 +0000 (13:02 +0200)
commit02642ce851613d458b9bf980fc1d9fad4fbb3842
tree286589096e5472cefad74b89b62d5a301d8a3fb8
parent087089c2045f0d8167f13d624b6c1a148922b354
tcp: use getaddrinfo() for hostname resolution

gethostbyname_r() is GNU extension not supported on some platforms.
This commit replaces it with POSIX standard getaddrinfo() call.
src/tcp.c