mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
ITS#839: getaddrinfo portability fix from Gabar Gombas
This commit is contained in:
parent
edef4b2970
commit
820965a412
1 changed files with 4 additions and 0 deletions
|
|
@ -291,6 +291,10 @@ static int slap_get_listener_addresses(
|
|||
*sap = NULL;
|
||||
break;
|
||||
}
|
||||
if (*sap != NULL) {
|
||||
(*sap)->sa_family = sai->ai_family;
|
||||
(*sap)->sa_len = sai->ai_addrlen;
|
||||
}
|
||||
sap++;
|
||||
} while ((sai = sai->ai_next) != NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue