From 48bb692d016305c8339458ea4d22c6d09b50310c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 16 Jul 1999 18:59:37 +0000 Subject: [PATCH] Add comment that socklen_t should be used --- contrib/whois++/whois++.c | 1 + 1 file changed, 1 insertion(+) 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 ] \ -- 2.39.5