]> git.ipfire.org Git - thirdparty/bacula.git/commit
edit_uint64_with_suffix() add option to remove the space before the suffix
authorAlain Spineux <alain@baculasystems.com>
Fri, 4 Feb 2022 15:10:01 +0000 (16:10 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:58 +0000 (13:56 +0200)
commitd537ada549c42bf6ba93cfc8da57a9b0ccb0e044
tree72d30c98fe3c500f8f8e0dae09009022b0b63525
parent197f69139453027372da806e938ead172ae458aa
edit_uint64_with_suffix() add option to remove the space before the suffix

- default is with_space=true that don't change the old behavior
- the goal is to have
  used=7.205GB free=32.37GB unused=612.3MB   <=  with_space=false
  instead of
  used=7.205 GB free=32.37 GB unused=612.3 MB  <=  with_space=true
bacula/src/lib/edit.c
bacula/src/lib/protos.h