Initialize maxoff of a newly inserted block
commitdc807c91d26025496b126edde7c6bb7ddf826e6a
authorPetr Tesarik <petr@tesarici.cz>
Tue, 15 May 2018 17:14:03 +0000 (15 19:14 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Tue, 15 May 2018 09:14:03 +0000 (15 11:14 +0200)
treeb023da63d642dd04f85e39659708da06219b3427
parenta71e1f0d2d67fccc8411b6b875e973cf1377d71f
Initialize maxoff of a newly inserted block

The tree node is zeroed out at allocation, but since maxoff now
holds the size minus one, it is now necessary to initialize the
field to a non-zero value here.

Fixes: d0ec586c02c441b352efb1ec763270e84335f5ca

Signed-off-by: Petr Tesarik <petr@tesarici.cz>
libhed/file.c