From 14993bc916942d01e5fb9c5f4c084121dfdfd41c Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 4 Oct 2006 21:54:04 -0700 Subject: Introduce socklen_t; detect non-local (e.g. broadcast) receive addresses --- common/tftpsubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/tftpsubs.c b/common/tftpsubs.c index 3dd34bd..9103106 100644 --- a/common/tftpsubs.c +++ b/common/tftpsubs.c @@ -250,7 +250,7 @@ synchnet(int f) /* socket to flush */ int pktcount = 0; char rbuf[PKTSIZE]; struct sockaddr_in from; - int fromlen; + socklen_t fromlen; fd_set socketset; struct timeval notime; -- cgit v1.2.1