mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Add comment thatPass socklen_t* instead of int* to getsockopt, accept, getpeername, recvfrom
This commit is contained in:
parent
0053b27ce0
commit
425bab2c47
@ -484,7 +484,7 @@ slapd_daemon_task(
|
||||
|
||||
for ( l = 0; l < N_LISTENERS; l++ ) {
|
||||
ber_int_t s;
|
||||
int len = sizeof(from);
|
||||
socklen_t len = sizeof(from);
|
||||
long id;
|
||||
|
||||
if ( listeners[l].tcps < 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user