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

MFC after:	1 week
This commit is contained in:
des 2004-07-05 11:21:50 +00:00
parent 75b8ca2286
commit 415c7523ba

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 {