From: Kurt Zeilenga Date: Wed, 9 May 2001 23:41:16 +0000 (+0000) Subject: Fix have inet_ntop bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1426 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d523048634c7d1962e32fbe445f686be78846941;p=openldap Fix have inet_ntop bug --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index b35c97169d..733272e571 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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) );