int -> socklen_t

This commit is contained in:
christos 1999-05-03 15:26:12 +00:00
parent 5cb75fd417
commit 180ff547a4
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rcmd.c,v 1.30 1999/03/16 18:15:13 christos Exp $ */
/* $NetBSD: rcmd.c,v 1.31 1999/05/03 15:26:12 christos Exp $ */
/*
* Copyright (c) 1997 Matthew R. Green.
@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
#else
__RCSID("$NetBSD: rcmd.c,v 1.30 1999/03/16 18:15:13 christos Exp $");
__RCSID("$NetBSD: rcmd.c,v 1.31 1999/05/03 15:26:12 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -213,7 +213,7 @@ hprcmd(hp, ahost, rport, locuser, remuser, cmd, fd2p)
} else {
char num[8];
int s2 = rresvport(&lport), s3;
int len = sizeof(from);
socklen_t len = sizeof(from);
if (s2 < 0)
goto bad;

View File

@ -1,4 +1,4 @@
/* $NetBSD: res_send.c,v 1.16 1998/11/15 17:40:38 christos Exp $ */
/* $NetBSD: res_send.c,v 1.17 1999/05/03 15:26:12 christos Exp $ */
/*-
* Copyright (c) 1985, 1989, 1993
@ -59,7 +59,7 @@
static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: res_send.c,v 8.13 1997/06/01 20:34:37 vixie Exp ";
#else
__RCSID("$NetBSD: res_send.c,v 1.16 1998/11/15 17:40:38 christos Exp $");
__RCSID("$NetBSD: res_send.c,v 1.17 1999/05/03 15:26:12 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -500,7 +500,7 @@ read_len:
time_t seconds;
struct pollfd dsfd;
struct sockaddr_in from;
int fromlen;
socklen_t fromlen;
if ((s < 0) || vc) {
if (vc)