Use an invalid type for the null entry - 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 3c2969281c3ae0cfae132373efd20210236abf2f
DIR parent c5abbf4d7c2a0129c74f15540e47d58cbf09fb67
HTML Author: sin <sin@2f30.org>
Date: Fri, 12 Apr 2019 13:53:32 +0100
Use an invalid type for the null entry
Diffstat:
M compress.c | 2 +-
M hash.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/compress.c b/compress.c
@@ -47,7 +47,7 @@ static struct algomap {
{ .name = "none", .type = COMPR_NONE },
{ .name = "lz4", .type = COMPR_LZ4 },
{ .name = "snappy", .type = COMPR_SNAPPY },
- { .name = NULL, },
+ { .name = NULL, .type = -1 },
};
int
DIR diff --git a/hash.c b/hash.c
@@ -43,7 +43,7 @@ static struct algomap {
{ .name = "blake2bp", .type = HASH_BLAKE2BP },
{ .name = "blake2s", .type = HASH_BLAKE2S },
{ .name = "blake2sp", .type = HASH_BLAKE2SP },
- { .name = NULL },
+ { .name = NULL, .type = -1 },
};
int