diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-08-05 09:58:49 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-08-05 09:58:49 +0000 |
commit | a3ae5e4edec66c6fbcc8f20c2425258c51682178 (patch) | |
tree | dd77799943ac1dcef8d2551a6cd191b6c11ca1f0 /usr.bin/tftp | |
parent | 9c662f355f059fe01d55ac703a2795ecba8327a5 (diff) | |
download | src-test2-a3ae5e4edec66c6fbcc8f20c2425258c51682178.tar.gz src-test2-a3ae5e4edec66c6fbcc8f20c2425258c51682178.zip |
Notes
Diffstat (limited to 'usr.bin/tftp')
-rw-r--r-- | usr.bin/tftp/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tftp/tftp.c b/usr.bin/tftp/tftp.c index bac262f9ad7d..4deee1b6960a 100644 --- a/usr.bin/tftp/tftp.c +++ b/usr.bin/tftp/tftp.c @@ -105,7 +105,7 @@ xmitfile(fd, name, mode) volatile int size, convert; volatile unsigned long amount; struct sockaddr_storage from; - int fromlen; + socklen_t fromlen; FILE *file; struct sockaddr_storage peer; struct sockaddr_storage serv; /* valid server port number */ @@ -223,7 +223,7 @@ recvfile(fd, name, mode) volatile int size, firsttrip; volatile unsigned long amount; struct sockaddr_storage from; - int fromlen; + socklen_t fromlen; FILE *file; volatile int convert; /* true if converting crlf -> lf */ struct sockaddr_storage peer; |