From d523048634c7d1962e32fbe445f686be78846941 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 9 May 2001 23:41:16 +0000 Subject: [PATCH] Fix have inet_ntop bug --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); -- 2.39.5