1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.bin/tftp
Gavin Atkinson c54da67276 Fix transfer statistics in the "send file" case - The conditional used
to print the stats were using an uninitialised variable. [1]

Fix trasnfer statistics in the "receive file" case - the statistics struct
was being cleared both before and after the initial connect to the remote
server.  As a result, the printed time and calculated bandwidth covers
the time to connect ad well as the time to transfer the file.  This may
not be ideal, but now at least matches the "send file" case.

Found by:	clang static analyser [1]
Reviewed by:	imp
2010-06-27 14:21:08 +00:00
..
main.c
Makefile
tftp.1
tftp.c Fix transfer statistics in the "send file" case - The conditional used 2010-06-27 14:21:08 +00:00
tftp.h Doh! Add another new file forgotten by the importer of edwin@'s tftp 2010-05-04 17:00:18 +00:00