Oops!
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -507,6 +507,9 @@ imap_messages_count (mailbox_t mailbox, size_t *pnum) | ... | @@ -507,6 +507,9 @@ imap_messages_count (mailbox_t mailbox, size_t *pnum) |
507 | return 0; | 507 | return 0; |
508 | } | 508 | } |
509 | 509 | ||
510 | /* Put the mailbox as selected. */ | ||
511 | f_imap->selected = m_imap; | ||
512 | |||
510 | switch (f_imap->state) | 513 | switch (f_imap->state) |
511 | { | 514 | { |
512 | case IMAP_NO_STATE: | 515 | case IMAP_NO_STATE: |
... | @@ -532,9 +535,6 @@ imap_messages_count (mailbox_t mailbox, size_t *pnum) | ... | @@ -532,9 +535,6 @@ imap_messages_count (mailbox_t mailbox, size_t *pnum) |
532 | break; | 535 | break; |
533 | } | 536 | } |
534 | 537 | ||
535 | /* Put the mailbox as selected. */ | ||
536 | f_imap->selected = m_imap; | ||
537 | |||
538 | if (pnum) | 538 | if (pnum) |
539 | *pnum = m_imap->messages_count; | 539 | *pnum = m_imap->messages_count; |
540 | 540 | ... | ... |
-
Please register or sign in to post a comment