commit | 9d8e671337092a5d9991c06efb738f673987881a | [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 | 209329d8e55452ed4a3e9f685e3082b7649da5b1 [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>