Replace last commit with Stig's improved version

This commit is contained in:
Kurt Zeilenga 2000-10-16 21:45:35 +00:00
parent 820965a412
commit 1fb923e6e2

View File

@ -293,9 +293,8 @@ static int slap_get_listener_addresses(
}
if (*sap != NULL) {
(*sap)->sa_family = sai->ai_family;
(*sap)->sa_len = sai->ai_addrlen;
sap++;
}
sap++;
} while ((sai = sai->ai_next) != NULL);
freeaddrinfo(res);