]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Fix data_stack_get_alloc_size() and data_stack_get_used_size()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 6 Oct 2021 10:20:12 +0000 (13:20 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 6 Oct 2021 10:28:27 +0000 (13:28 +0300)
commit50fc60fd8efeea48733732a918f47624df483c47
tree2e22c6b00124ebf82fbf35a4225b86b735cee8bc
parent1cee336aab7e298b0a4c10ad01b1a8898c78f0f3
lib: Fix data_stack_get_alloc_size() and data_stack_get_used_size()

It only worked correctly if data stack hadn't been grown. This resulted
in wrong numbers in the data_stack_grow event.
src/lib/data-stack.c