Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2010 14:21:08 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/tftp tftp.c
Message-ID:  <201006271421.o5RELLrA032641@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gavin       2010-06-27 14:21:08 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tftp         tftp.c 
  Log:
  SVN rev 209551 on 2010-06-27 14:21:08Z by gavin
  
  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
  
  Revision  Changes    Path
  1.18      +1 -4      src/usr.bin/tftp/tftp.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006271421.o5RELLrA032641>