format-table: don't hit assert if column got less width than it asked for
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Feb 2021 14:02:21 +0000 (15:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Feb 2021 14:05:25 +0000 (15:05 +0100)
commit2cd9f773e29873df1b9f9b09c6c4f78853b16215
tree10df8891ab1af75eaebbd5a9ad27ade9a1dc7a8f
parent0f15cb224347a97d9c0f6ab782af68139358e1ef
format-table: don't hit assert if column got less width than it asked for

If one field in a specific column has a maximum size limit, other fields
in the same column might affected by it and get less than they asked
for. Let's make sure we can handle this, and don't assert on this
because surprisingly we got less than what we asked for.
src/shared/format-table.c