From 2d8d2b3e71083001066483fcbb33a593b1b9e6a7 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 3 Sep 2021 16:11:52 -0700 Subject: journals: add missing le64toh() call Apparently skipped a line when doing the mechanical addition of this hoop-jumping... --- src/journals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journals.c b/src/journals.c index 27b2756..c0d2b55 100644 --- a/src/journals.c +++ b/src/journals.c @@ -792,7 +792,7 @@ THUNK_DEFINE_STATIC(got_object, iou_t *, iou, uint64_t, size, Object *, object, object->entry.xor_hash = le64toh(object->entry.xor_hash); for (uint64_t i = 0, n_items = OBJECT_N_ITEMS(object->entry); i < n_items; i++) { object->entry.items[i].object_offset = le64toh(object->entry.items[i].object_offset); - object->entry.items[i].hash; + object->entry.items[i].hash = le64toh(object->entry.items[i].hash); } break; -- cgit v1.2.3