Truncate long file names in stat_display(), as was originally intended.

MFC after:	1 week
This commit is contained in:
Dag-Erling Smørgrav 2004-07-05 11:21:50 +00:00
parent ed01a58215
commit c8488e24e7

View File

@ -200,7 +200,7 @@ stat_display(struct xferstat *xs, int force)
return;
xs->last = now;
fprintf(stderr, "\r%-46s", xs->name);
fprintf(stderr, "\r%-46.46s", xs->name);
if (xs->size <= 0) {
fprintf(stderr, " %s", stat_bytes(xs->rcvd));
} else {