Browse Source

Style fixes

cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
e4c695f37e
  1. 2
      io.c

2
io.c

@ -66,7 +66,7 @@ bool ethash_io_write(char const *dirname,
p.full_size = ethash_get_datasize(block_number); p.full_size = ethash_get_datasize(block_number);
// allocate the bytes // allocate the bytes
uint8_t *temp_data_ptr = malloc(p.full_size); uint8_t *temp_data_ptr = malloc(p.full_size);
if (!(*temp_data_ptr)) { if (!*temp_data_ptr) {
goto end; goto end;
} }
ethash_prep_full(temp_data_ptr, &p, cache); ethash_prep_full(temp_data_ptr, &p, cache);

Loading…
Cancel
Save