Rename fn to loadmd - 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 a4b92b7d3ace3ec50598726b3879ead44864f4e1
DIR parent da5196be59c4f03fd81127900dd1b1afdbdfa34f
HTML Author: sin <sin@2f30.org>
Date: Tue, 14 May 2019 14:01:55 +0300
Rename fn to loadmd
Diffstat:
M snap.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
DIR diff --git a/snap.c b/snap.c
@@ -158,17 +158,17 @@ static int
initmdhead(struct sctx *sctx)
{
struct shdr *shdr;
- int (*fn)(struct sctx *, int);
+ int (*loadmd)(struct sctx *, int);
uint64_t i;
if (!sctx->crypto)
- fn = loadmdnone;
+ loadmd = loadmdnone;
else
- fn = loadmdcrypto;
+ loadmd = loadmdcrypto;
shdr = &sctx->shdr;
for (i = 0; i < shdr->nbd; i++) {
- if ((*fn)(sctx, i == 0) == 0)
+ if ((*loadmd)(sctx, i == 0) == 0)
continue;
while (!TAILQ_EMPTY(&sctx->mdhead)) {