summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2015-02-07 15:10:31 -0800
committerKevin Greenan <kmgreen2@gmail.com>2015-02-07 15:10:31 -0800
commitaa276d43221fb595d4b0bb1e422276a4ebeff5e0 (patch)
tree0f41423828a1ec71c795bacecfe608be08178399
parent14b1e5bb64e5dac9da2b97b4a4db046aecf61364 (diff)
downloadliberasurecode-aa276d43221fb595d4b0bb1e422276a4ebeff5e0.tar.gz
This is the fix propsed by Kota to fix the reconstruction errors
we were seeing after the checksum enum changes.
-rw-r--r--src/erasurecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erasurecode.c b/src/erasurecode.c
index ab39228..586e6bc 100644
--- a/src/erasurecode.c
+++ b/src/erasurecode.c
@@ -822,7 +822,7 @@ int liberasurecode_reconstruct_fragment(int desc,
init_fragment_header(fragment_ptr);
add_fragment_metadata(instance, fragment_ptr, destination_idx,
orig_data_size, blocksize, instance->args.uargs.ct,
- !set_chksum);
+ set_chksum);
/*
* Copy the reconstructed fragment to the output buffer