diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-06 18:55:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-06 18:55:05 +0000 |
commit | f77a5f06221c206b2db71e900e53ad009cafa43d (patch) | |
tree | 3b47821b741379d40310b785577c40254fbe7fbe /usr.bin/tftp/tftpsubs.c | |
parent | 39885284ac132a9ed6cf33cefd89b19ac1868856 (diff) |
use socklen_t where needed
Diffstat (limited to 'usr.bin/tftp/tftpsubs.c')
-rw-r--r-- | usr.bin/tftp/tftpsubs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tftp/tftpsubs.c b/usr.bin/tftp/tftpsubs.c index 72edd8120da..9445cd898fc 100644 --- a/usr.bin/tftp/tftpsubs.c +++ b/usr.bin/tftp/tftpsubs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpsubs.c,v 1.3 2001/11/19 19:02:16 mpech Exp $ */ +/* $OpenBSD: tftpsubs.c,v 1.4 2002/09/06 18:55:04 deraadt Exp $ */ /* $NetBSD: tftpsubs.c,v 1.3 1994/12/08 09:51:31 jtc Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)tftpsubs.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: tftpsubs.c,v 1.3 2001/11/19 19:02:16 mpech Exp $"; +static char rcsid[] = "$OpenBSD: tftpsubs.c,v 1.4 2002/09/06 18:55:04 deraadt Exp $"; #endif /* not lint */ /* Simple minded read-ahead/write-behind subroutines for tftp user and @@ -263,7 +263,7 @@ synchnet(f) int i, j = 0; char rbuf[PKTSIZE]; struct sockaddr_in from; - int fromlen; + socklen_t fromlen; while (1) { (void) ioctl(f, FIONREAD, &i); |