Re: [PATCH 2/2] lib: replace STRNCMP_LITERAL in __message_remove_indexed_terms

2020-05-04 Thread Franz Fellner
Thank you very much. I confirm that the patch fixes the issue. Regards Franz On Mon May 4 11:00:24 2020, David Bremner wrote: > strncmp looks for a prefix that matches, which is very much not what > we want here. This fixes the bug reported by Franz Fellner in > id:1588595993-ner-8.651@TPL520 >

[PATCH 2/2] lib: replace STRNCMP_LITERAL in __message_remove_indexed_terms

2020-05-04 Thread David Bremner
strncmp looks for a prefix that matches, which is very much not what we want here. This fixes the bug reported by Franz Fellner in id:1588595993-ner-8.651@TPL520 --- lib/message.cc | 6 +++--- test/T700-reindex.sh | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/mess