]> granicus.if.org Git - neomutt/commit
Fix imap server-side search to call uid2msgno() only once. (see #3905)
authorKevin McCarthy <kevin@8t8.us>
Thu, 5 Jan 2017 03:45:59 +0000 (19:45 -0800)
committerRichard Russon <rich@flatcap.org>
Fri, 10 Feb 2017 03:32:55 +0000 (03:32 +0000)
commitd6267cf2e86c13f6a2418e36776b952d55f76684
tree7ba191d9a4be83e00dbdea24c1f51c51878e0f4d
parentec77e25380553869c41def5a227ed1de2683ccb9
Fix imap server-side search to call uid2msgno() only once. (see #3905)

After performing a UID SEARCH, the results are parsed in
cmd_parse_search().  This was accidentally calling uid2msgno() twice.
Since that function does a linear search, this has a noticable impact
on large search results.
imap/command.c