Truncate long file names in stat_display(), as was originally intended.
MFC after: 1 week
This commit is contained in:
parent
ed01a58215
commit
c8488e24e7
@ -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