aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index ca77cda8..4269e5d1 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -424,7 +424,7 @@ local function get_list_index(username, host, datastore)
end
if ih then
- local first_length = string.unpack(ih:read(index_item_size));
+ local first_length = string.unpack(index_fmt, ih:read(index_item_size));
return setmetatable({ file = ih; { start = 0; length = first_length } }, index_mt);
end