* locate_kdc.c: Include fake-addrinfo.h.
authorKen Raeburn <raeburn@mit.edu>
Thu, 19 Jul 2001 11:41:24 +0000 (11:41 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 19 Jul 2001 11:41:24 +0000 (11:41 +0000)
commit95e62dbf342043188c73e7850e5db23576a0b0bc
tree362274b8aed59b11f88f69c776dc98bf82e4196b
parent930f7edd0c8ebc31b4cad96a89c392584ab7f2ea
* locate_kdc.c: Include fake-addrinfo.h.
(FAI_PREFIX, FAI_IMPLEMENTATION): Define macros.
(get_port, add_sockaddr_to_list, add_host_to_list): Drop
gethostbyname/getservbyname support, always use getnameinfo, which should be
thread-safe.
(translate_ai_error, set_port_num): Now always defined.
(set_port_num): Only check for AF_INET6 if KRB5_USE_INET6.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13613 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/locate_kdc.c