commit - 84efe063d23232222a3620238a5de72df40ced47
commit + 1e73031b5b7f6d97d2de389636e620fe0de6201f
blob - 299f3682f61bd510e620a6076c193ef7618a2806
blob + fa0205ad0837ff160574fa8c81b6ba5f581c334f
--- lib/pack.c
+++ lib/pack.c
got_hash_update(&ctx, h->trailer->packfile_sha1,
SHA1_DIGEST_LENGTH);
got_hash_final(&ctx, hash);
- if (got_hash_cmp(ctx.algo, hash, h->trailer->packidx_sha1)
- != 0)
+ if (got_hash_cmp(ctx.algo, hash, h->trailer->packidx_sha1) != 0)
err = got_error(GOT_ERR_PACKIDX_CSUM);
}
done: