mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Add comment that socklen_t should be used
This commit is contained in:
parent
425bab2c47
commit
48bb692d01
@ -53,6 +53,7 @@ char **argv;
|
||||
struct hostent *hp;
|
||||
static struct sockaddr sa;
|
||||
struct sockaddr_in *sin = (struct sockaddr_in *) (&sa);
|
||||
/* #### length should be socklen_t when we include portable.h #### */
|
||||
int length = sizeof(sa);
|
||||
static char options[] = "[-b searchbase] [-d debug ] \
|
||||
[-h ldaphost ] [-i] [-l] [-s sizelimit] [-t timelimit] [-T tailorfile ] \
|
||||
|
Loading…
Reference in New Issue
Block a user