diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:00:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:00:14 +0000 |
commit | 361fec5b672ef8fdb44f61fb12b2cbb2f950b347 (patch) | |
tree | 9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-0.17-bitrate.patch | |
parent | 75ec6de8f8f0b5d1c1905cb24264099d45eea096 (diff) |
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-0.17-bitrate.patch')
-rw-r--r-- | netkit-ftp-0.17-bitrate.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/netkit-ftp-0.17-bitrate.patch b/netkit-ftp-0.17-bitrate.patch new file mode 100644 index 0000000..eb2506e --- /dev/null +++ b/netkit-ftp-0.17-bitrate.patch @@ -0,0 +1,14 @@ +diff -up netkit-ftp-0.17/ftp/ftp.c.old netkit-ftp-0.17/ftp/ftp.c +--- netkit-ftp-0.17/ftp/ftp.c.old 2008-01-28 10:23:17.000000000 +0100 ++++ netkit-ftp-0.17/ftp/ftp.c 2008-01-28 10:32:01.000000000 +0100 +@@ -1609,8 +1609,8 @@ ptransfer(const char *direction, long lo + s = td.tv_sec + (td.tv_usec / 1000000.); + #define nz(x) ((x) == 0 ? 1 : (x)) + bs = bytes / nz(s); +- printf("%lld bytes %s in %.3g secs (%.2g Kbytes/sec)\n", +- bytes, direction, s, bs / 1024.0); ++ printf("%lld bytes %s in %.3g secs (%.2f Kbytes/sec)\n", ++ bytes, direction, s, bs / 1000.0); + } + } + |