source: npl/system/netkit-ftp/patches/21-netkit-ftp-0.17-bitrate.patch @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 580 bytes
  • netkit-ftp-0.17/ftp/ftp.c

    diff -up netkit-ftp-0.17/ftp/ftp.c.old netkit-ftp-0.17/ftp/ftp.c
    old new ptransfer(const char *direction, long lo 
    16091609                s = td.tv_sec + (td.tv_usec / 1000000.);
    16101610#define nz(x)   ((x) == 0 ? 1 : (x))
    16111611                bs = bytes / nz(s);
    1612                 printf("%lld bytes %s in %.3g secs (%.2g Kbytes/sec)\n",
    1613                     bytes, direction, s, bs / 1024.0);
     1612                printf("%lld bytes %s in %.3g secs (%.2f Kbytes/sec)\n",
     1613                    bytes, direction, s, bs / 1000.0);
    16141614        }
    16151615}
    16161616
Note: See TracBrowser for help on using the repository browser.