Skip to content
Snippets Groups Projects
Commit 48bb692d authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Add comment that socklen_t should be used

parent 425bab2c
No related merge requests found
......@@ -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 ] \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment