]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib, lib-master: Remove event.call_free
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 5 Sep 2019 08:57:20 +0000 (11:57 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 5 Sep 2019 13:29:28 +0000 (13:29 +0000)
commit35056d59662f5dde21610100c16750aaef3bcbb3
tree022319a17f770da194306ea40132be29b0304739
parenta660bd3b0899721fc369afebe0ee1652a606a5d5
lib, lib-master: Remove event.call_free

Just call the EVENT_CALLBACK_TYPE_FREE always. Having this flag isn't
really going to affect the performance, and it might be useful in the
future to work this way.

Only the unit test was relying on call_free to be different from
id_sent_to_stats. This commit changes the unit test to check for the
END strings where necessary.
src/lib-master/stats-client.c
src/lib-master/test-event-stats.c
src/lib/lib-event-private.h
src/lib/lib-event.c