]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: mail_search_arg_to_imap() - minor FLAGS writing optimization
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 18 Apr 2017 12:51:39 +0000 (15:51 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 27 Apr 2017 07:26:49 +0000 (10:26 +0300)
commitfe4389584011a4b9581072723f5c91668fac23c1
tree3dfa98c7624c0c85f0db53814f37de24c1a5f3e5
parentcd955fdc0e2dbd7c282bea66804f277f9bbe2046
lib-storage: mail_search_arg_to_imap() - minor FLAGS writing optimization

Avoid an extra str_delete() by immediately calculating whether the
parenthesis are needed.
src/lib-storage/mail-search-args-imap.c