mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
ITS#4537 placate braindead compiler
This commit is contained in:
parent
cf1304147d
commit
d8aabb008f
1 changed files with 2 additions and 1 deletions
|
|
@ -831,7 +831,8 @@ static int slap_get_listener_addresses(
|
|||
sap[i]->sa_family = AF_INET;
|
||||
((struct sockaddr_in *)sap[i])->sin_port = htons(port);
|
||||
AC_MEMCPY( &((struct sockaddr_in *)sap[i])->sin_addr,
|
||||
he ? he->h_addr_list[i] : &in, sizeof(struct in_addr) );
|
||||
he ? (struct in_addr *)he->h_addr_list[i] : &in,
|
||||
sizeof(struct in_addr) );
|
||||
}
|
||||
sap[i] = NULL;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue