mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Fix have inet_ntop bug
This commit is contained in:
parent
b57bc8b35b
commit
d523048634
1 changed files with 1 additions and 1 deletions
|
|
@ -743,7 +743,7 @@ static Listener * slap_open_listener(
|
|||
|
||||
case AF_INET: {
|
||||
char *s;
|
||||
#if defined( HAVE_GETADDRINFO ) && defined( INET_NTOP )
|
||||
#if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP )
|
||||
char addr[INET_ADDRSTRLEN];
|
||||
inet_ntop( AF_INET, &((struct sockaddr_in *)*sal)->sin_addr,
|
||||
addr, sizeof(addr) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue