mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Replace last commit with Stig's improved version
This commit is contained in:
parent
820965a412
commit
1fb923e6e2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user