diff options
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ getcommand(const char **name_out, enum libhashsum_algorithm *algorithm_out) return BSUM; specialised: - if (!libhashsum_get_algorithm_string(algorithm_out, name)) + if (!libhashsum_get_algorithm_from_string(algorithm_out, name)) eprintf("invalid command name, is not \"anysum\" and " "does not match any known hash function"); if (strchr(name, '[')) |