aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-10-17 04:43:10 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-10-17 04:43:10 +0200
commit803b6c9c9eb15db58a9f7e9cea93baa88c743277 (patch)
treeceabb4af4be6a033c5a1a3b4514a6ae9e2767892
parent5f042511ccd221f2bac6bab2cc242b7a9018b2be (diff)
Fixed incorrect size
-rw-r--r--FICS/copyfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/copyfile.c b/FICS/copyfile.c
index ca4e625..9f62a53 100644
--- a/FICS/copyfile.c
+++ b/FICS/copyfile.c
@@ -67,7 +67,7 @@ fics_copyfile(const char *p1, const char *p2, const bool post_checks)
warnx("%s: total written mismatch total read", __func__);
return false;
} else if (post_checks) {
- char buf[2][SHA1_DIGEST_LENGTH + 1];
+ char buf[2][41];
char *str[2];
str[0] = &buf[0][0];