mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
Add comment that socklen_t should be used
This commit is contained in:
parent
425bab2c47
commit
48bb692d01
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue