Fix two compile-time warnings by defining fromlen as socklen_t.

MFC after:	1 week
This commit is contained in:
Garance A Drosehn 2001-07-23 00:13:02 +00:00
parent 8f8cd845fa
commit e95b3b9b47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80170

View File

@ -131,11 +131,11 @@ uid_t uid, euid;
int
main(int argc, char **argv)
{
int ch_options, errs, f, funix, *finet, fromlen, i, socket_debug;
int ch_options, errs, f, funix, *finet, i, lfd, socket_debug;
fd_set defreadfds;
struct sockaddr_un un, fromunix;
struct sockaddr_storage frominet;
int lfd;
socklen_t fromlen;
sigset_t omask, nmask;
struct servent *sp, serv;
int inet_flag = 0, inet6_flag = 0;