From: Hallvard Furuseth Date: Fri, 16 Jul 1999 18:57:11 +0000 (+0000) Subject: Add comment thatPass socklen_t* instead of int* to getsockopt, accept, getpeername... X-Git-Tag: OPENLDAP_REL_ENG_2_BP~107 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=425bab2c4749c4bff716e7258d7c57e8205d1148;p=openldap Add comment thatPass socklen_t* instead of int* to getsockopt, accept, getpeername, recvfrom --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 4f8b3c7a37..4cf0d97293 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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 )