]> 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)
committerKevin McCarthy <kevin@8t8.us>
Thu, 5 Jan 2017 03:45:59 +0000 (19:45 -0800)
commitb59c1c54e0e8a6a29c832a4e6985c8370b793164
treec06bc7915e3668124e69f536558d703f9f2c8a05
parent1fe264101af84f1faddfb0816df77ab69db89b42
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