Commit 2fed35f30bca155d654edb9b1119803d63ef0df1

Stefan Sperling 2020-03-18T16:11:30

knf

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index 0847def..a12b4c4 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -163,7 +163,7 @@ check_pack_hash(int fd, size_t sz, uint8_t *hcomp)
 	uint8_t hexpect[SHA1_DIGEST_LENGTH];
 	char s1[SHA1_DIGEST_STRING_LENGTH + 1];
 	char s2[SHA1_DIGEST_STRING_LENGTH + 1];
-	uint8_t buf[32*1024];
+	uint8_t buf[32 * 1024];
 	ssize_t n, r, nr;
 
 	if (sz < sizeof(struct got_packfile_hdr) + SHA1_DIGEST_LENGTH)