X-Git-Url: https://git.sesse.net/?p=plocate;a=blobdiff_plain;f=database-builder.cpp;h=fdd637a059f05bee47be8a90367cb3f30d137faf;hp=af688cf78186886d71507b95fdc26b6ca27bc2ca;hb=dd80692a89481eeff56ebcb1f5be9edf179ca766;hpb=113dddba81eb49e8770b7d60ba3f9436c602ee30 diff --git a/database-builder.cpp b/database-builder.cpp index af688cf..fdd637a 100644 --- a/database-builder.cpp +++ b/database-builder.cpp @@ -597,8 +597,8 @@ void DatabaseBuilder::finish_corpus() // And the configuration block. if (!conf_block.empty()) { - hdr.next_zstd_dictionary_offset_bytes = ftell(outfp); - hdr.next_zstd_dictionary_length_bytes = conf_block.size(); + hdr.conf_block_offset_bytes = ftell(outfp); + hdr.conf_block_length_bytes = conf_block.size(); fwrite(conf_block.data(), conf_block.size(), 1, outfp); }