Mercurial > prosody-hg
changeset 14019:625372ca6bfe
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 19 Dec 2025 22:51:07 +0100 |
| parents | 1e01b91cf94d (current diff) 7ffb2d3ab50b (diff) |
| children | 3c2bfa6a69df |
| files | |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/datamanager.lua Sun Dec 07 15:13:09 2025 +0100 +++ b/util/datamanager.lua Fri Dec 19 22:51:07 2025 +0100 @@ -274,7 +274,7 @@ if string.packsize then index_fmt = "T"; -- offset to the end of the item, length can be derived from two index items index_item_size = string.packsize(index_fmt); - index_magic = string.pack(index_fmt, 7767639 + 1); -- Magic string: T9 for "prosody", version number + index_magic = string.pack(index_fmt, 7767639 + 2 + index_item_size); -- Magic string: T9 for "prosody", version number end local function list_append(username, host, datastore, data)
