Truncate long file names in stat_display(), as was originally intended.
MFC after: 1 week
This commit is contained in:
parent
75b8ca2286
commit
415c7523ba
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user