imap: Added skipping of SELECT command if already in the same mailbox
authorJiri Hruska <jirka@fud.cz>
Wed, 27 Feb 2013 18:02:53 +0000 (19:02 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 27 Feb 2013 20:08:02 +0000 (20:08 +0000)
commitb644c47192fb4c16297149544c5a647d916f7b10
treeb1144036959ea53d49f8f701c8031d2e212d9565
parentd03aa16164dba606e9d6a6bfef741ebb1bedfd7f
imap: Added skipping of SELECT command if already in the same mailbox

Added storage and checking of the last mailbox userd to prevent
unnecessary switching.
lib/imap.c