mirror of
https://github.com/git/git.git
synced 2024-12-12 03:14:11 +08:00
test-bloom: fix some whitespace issues
Signed-off-by: Jeff King <peff@peff.net> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fe88f9f91f
commit
24b7d1e7b0
@ -27,7 +27,7 @@ static void print_bloom_filter(struct bloom_filter *filter) {
|
||||
}
|
||||
printf("Filter_Length:%d\n", (int)filter->len);
|
||||
printf("Filter_Data:");
|
||||
for (i = 0; i < filter->len; i++){
|
||||
for (i = 0; i < filter->len; i++) {
|
||||
printf("%02x|", filter->data[i]);
|
||||
}
|
||||
printf("\n");
|
||||
@ -56,7 +56,7 @@ int cmd__bloom(int argc, const char **argv)
|
||||
filter.len = (settings.bits_per_entry + BITS_PER_WORD - 1) / BITS_PER_WORD;
|
||||
filter.data = xcalloc(filter.len, sizeof(unsigned char));
|
||||
|
||||
if (!argv[2]){
|
||||
if (!argv[2]) {
|
||||
die("at least one input string expected");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user