|
Last change
on this file since 354c056 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
|
File size:
580 bytes
|
| Rev | Line | |
|---|
| [c5c522c] | 1 | diff -up netkit-ftp-0.17/ftp/ftp.c.old netkit-ftp-0.17/ftp/ftp.c |
|---|
| 2 | --- netkit-ftp-0.17/ftp/ftp.c.old 2008-01-28 10:23:17.000000000 +0100 |
|---|
| 3 | +++ netkit-ftp-0.17/ftp/ftp.c 2008-01-28 10:32:01.000000000 +0100 |
|---|
| 4 | @@ -1609,8 +1609,8 @@ ptransfer(const char *direction, long lo |
|---|
| 5 | s = td.tv_sec + (td.tv_usec / 1000000.); |
|---|
| 6 | #define nz(x) ((x) == 0 ? 1 : (x)) |
|---|
| 7 | bs = bytes / nz(s); |
|---|
| 8 | - printf("%lld bytes %s in %.3g secs (%.2g Kbytes/sec)\n", |
|---|
| 9 | - bytes, direction, s, bs / 1024.0); |
|---|
| 10 | + printf("%lld bytes %s in %.3g secs (%.2f Kbytes/sec)\n", |
|---|
| 11 | + bytes, direction, s, bs / 1000.0); |
|---|
| 12 | } |
|---|
| 13 | } |
|---|
| 14 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.