mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#4537 placate braindead compiler
This commit is contained in:
parent
cf1304147d
commit
d8aabb008f
@ -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 New Issue
Block a user