summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-10-15 01:13:37 +0200
committerLennart Poettering <lennart@poettering.net>2011-10-15 01:13:37 +0200
commitde7b95cdc3228131498021c2fdcf6647004c3920 (patch)
treeb5b240c888986f21a3b102ddf577d3d67285b549 /src/journal/journal-file.c
parent1cc101f1e59ca2f5e87dea48ac9ed98c6f077b3b (diff)
journal: properly implement matching with multiple matches
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 537978137b..5557028147 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -805,6 +805,7 @@ int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const st
xor_hash ^= le64toh(o->data.hash);
items[i].object_offset = htole64(p);
+ items[i].hash = o->data.hash;
}
r = journal_file_append_entry_internal(f, ts, xor_hash, items, n_iovec, seqno, ret, offset);