From c856a40f7c8688c8ab99d6f0b9cd1549e2dc5fc4 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Fri, 2 Sep 2011 16:46:57 -0700 Subject: [PATCH] LFNIndex: Fix lfn parsing for hobjects with keys Signed-off-by: Samuel Just --- src/os/LFNIndex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/LFNIndex.cc b/src/os/LFNIndex.cc index 126a4b9edbdb4..dc133bb48b2b6 100644 --- a/src/os/LFNIndex.cc +++ b/src/os/LFNIndex.cc @@ -793,7 +793,7 @@ bool LFNIndex::lfn_parse_object_name(const string &long_name, hobject_t *out) { for (; end != long_name.end() && *end != '_'; ++end); if (end == long_name.end()) return false; - if (!append_unescaped(current, end, &(out->oid.name))) + if (!append_unescaped(current, end, &(out->key))) return false; current = ++end; -- 2.39.5