Mercurial > dovecot > core-2.2
changeset 22143:98e35a5592b1
imapc: SEARCH - Don't add parenthesis around OR
There's no need to write "(OR a b)" when "OR a b" works just the same.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 31 May 2017 00:00:32 +0300 |
parents | 7181f55cae2c |
children | ca4bf2b2392b |
files | src/lib-storage/index/imapc/imapc-search.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/imapc/imapc-search.c Tue May 30 23:53:44 2017 +0300 +++ b/src/lib-storage/index/imapc/imapc-search.c Wed May 31 00:00:32 2017 +0300 @@ -75,9 +75,7 @@ switch (arg->type) { case SEARCH_OR: - str_append_c(str, '('); imapc_build_search_query_args(mbox, arg->value.subargs, TRUE, str); - str_append_c(str, ')'); return TRUE; case SEARCH_SUB: str_append_c(str, '(');