]> git.ipfire.org Git - thirdparty/bacula.git/commit
tweak error code in block_utils.c
authorAlain Spineux <alain@baculasystems.com>
Wed, 30 Nov 2022 10:43:21 +0000 (11:43 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
commitc758fa35e2063875e75139a69089fb34f7a2c4a8
tree60f951e9bc7dda4ff030ddbb6e4d820e6be63e05
parent791565dd84a80fdf62e8118c9c71512374b9a117
tweak error code in block_utils.c

- there was 4 time the same code to handle a wrong BB0X header,
  remove 3 of them and let the final "else" handle these errors
- there is no reason to handle any xxx3 as BB03 and LATER check if it is
  BB03 and complain if it is not
- also used asciidump() to dump the bad ID to avoid invalid unicode char
bacula/src/stored/block_util.c