]> git.sur5r.net Git - openldap/commitdiff
ITS#895: gai_strerror fix
authorKurt Zeilenga <kurt@openldap.org>
Fri, 24 Nov 2000 05:30:52 +0000 (05:30 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 24 Nov 2000 05:30:52 +0000 (05:30 +0000)
servers/slapd/daemon.c

index c9eb693cdcf880cb4a0ffcbbdb43b66025f7fd9c..5020b4509dd42e064be5079378fa13536003c6ba 100644 (file)
@@ -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;
                }
        }