]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imap: imap_search_seqset_iter_next() - Assert-crash if iteration doesn't progress
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 19 May 2020 15:31:31 +0000 (18:31 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 26 May 2020 16:32:40 +0000 (19:32 +0300)
commit1c06386a928ddac40bcdc9a2f9fe5cebcf98ade6
tree11dea0e9aeb8908f76d1082665631ed15e98fe4c
parent8069b7cc8abed1def247f29d9b4436fcdbcfa02e
imap: imap_search_seqset_iter_next() - Assert-crash if iteration doesn't progress

This can be done easily with seq_range_array_remove_seq_range(). This is
cleaner to use than invert+intersect. I originally didn't notice that
this function existed.
src/imap/imap-search-args.c