]> git.sur5r.net Git - openldap/commitdiff
Add comment thatPass socklen_t* instead of int* to getsockopt, accept, getpeername...
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 16 Jul 1999 18:57:11 +0000 (18:57 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 16 Jul 1999 18:57:11 +0000 (18:57 +0000)
servers/slapd/daemon.c

index 4f8b3c7a37acfc7fd494a4f9812ef9d6b0f4a82b..4cf0d97293445bb45275d06916f8ef4dc259acaa 100644 (file)
@@ -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 )