From: Kurt Zeilenga Date: Fri, 24 Nov 2000 05:30:52 +0000 (+0000) Subject: ITS#895: gai_strerror fix X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1641 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04e2da58edfad62e6edffeeec3b96018755bb74c;p=openldap ITS#895: gai_strerror fix --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index c9eb693cdc..5020b4509d 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -240,7 +240,7 @@ static int slap_get_listener_addresses( hints.ai_family = AF_UNSPEC; if (err = getaddrinfo(host, serv, &hints, &res)) { Debug( LDAP_DEBUG_ANY, "daemon: getaddrinfo failed: %s\n", - gai_strerror(err), 0, 0); + AC_GAI_STRERROR(err), 0, 0); return -1; } }