Blame SOURCES/netkit-ftp-0.17-bitrate.patch
|
|
09d58c |
diff -up netkit-ftp-0.17/ftp/ftp.c.old netkit-ftp-0.17/ftp/ftp.c
|
|
|
09d58c |
--- netkit-ftp-0.17/ftp/ftp.c.old 2008-01-28 10:23:17.000000000 +0100
|
|
|
09d58c |
+++ netkit-ftp-0.17/ftp/ftp.c 2008-01-28 10:32:01.000000000 +0100
|
|
|
09d58c |
@@ -1609,8 +1609,8 @@ ptransfer(const char *direction, long lo
|
|
|
09d58c |
s = td.tv_sec + (td.tv_usec / 1000000.);
|
|
|
09d58c |
#define nz(x) ((x) == 0 ? 1 : (x))
|
|
|
09d58c |
bs = bytes / nz(s);
|
|
|
09d58c |
- printf("%lld bytes %s in %.3g secs (%.2g Kbytes/sec)\n",
|
|
|
09d58c |
- bytes, direction, s, bs / 1024.0);
|
|
|
09d58c |
+ printf("%lld bytes %s in %.3g secs (%.2f Kbytes/sec)\n",
|
|
|
09d58c |
+ bytes, direction, s, bs / 1000.0);
|
|
|
09d58c |
}
|
|
|
09d58c |
}
|
|
|
09d58c |
|