Commit a808517a a808517a1d6b7cc4325199800385b6b6e41ecdab by Alain Magloire

Oops!

1 parent 9c57918e
...@@ -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
......