Rename var - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 4898c6cfb92a378928c29895d4ca55536121b52d DIR parent 713949530b79c2a78039cbd0fc9494393b2532e2 HTML Author: sin <sin@2f30.org> Date: Sun, 7 Apr 2019 10:58:01 +0100 Rename var Diffstat: M dedup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -547,16 +547,16 @@ int main(int argc, char *argv[]) { uint8_t md[MD_SIZE]; - char *id = NULL, *root = NULL, *msg = NULL, *algo = NULL; + char *id = NULL, *root = NULL, *msg = NULL, *hash_name = NULL; int iflag = 0, lflag = 0, cflag = 0; int fd = -1; ARGBEGIN { case 'H': - algo = EARGF(usage()); - hash_algo = hash_name2type(algo); + hash_name = EARGF(usage()); + hash_algo = hash_name2type(hash_name); if (hash_algo < 0) - errx(1, "unknown hash: %s", algo); + errx(1, "unknown hash: %s", hash_name); break; case 'Z': compr_enabled = 0;