From: Hallvard Furuseth Date: Fri, 16 Jul 1999 18:59:37 +0000 (+0000) Subject: Add comment that socklen_t should be used X-Git-Tag: OPENLDAP_REL_ENG_2_BP~106 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48bb692d016305c8339458ea4d22c6d09b50310c;p=openldap Add comment that socklen_t should be used --- diff --git a/contrib/whois++/whois++.c b/contrib/whois++/whois++.c index 469e3ac664..7e20bcc742 100644 --- a/contrib/whois++/whois++.c +++ b/contrib/whois++/whois++.c @@ -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 ] \