commit | 92fa22a1bb1e77e05b20e7caa854101bb15ccfef | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Wed Jan 03 11:47:06 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 16 17:05:29 2024 -0500 |
tree | a9fd42e6daf0861a1151d2b601e246996eb035c7 | |
parent | 48f31ee7427f7e2b87b5b9cf9b86e3b411acf8f0 [diff] |
cmd/command.c: relax length check in cmd_get_data_size() Just check that the length is at least 2. This allows passing strings like ".b", which can be convenient when constructing tests (i.e. parametrizing the suffix used). Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>