Changeset 5044:aa6f191cfa10 for imap/command.c
- Timestamp:
- 2007-04-02 10:48:47 (22 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
imap/command.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imap/command.c
r5043 r5044 820 820 IMAP_MBOX mx; 821 821 int count; 822 IMAP_STATUS *status , sb;823 int olduv, oldun;822 IMAP_STATUS *status; 823 unsigned int olduv, oldun; 824 824 825 825 mailbox = imap_next_word (s); … … 828 828 imap_unmunge_mbox_name (mailbox); 829 829 830 if (!(status = imap_mboxcache_get (idata, mailbox))) 831 { 832 /* ugly interface - why should I look up what I just added? */ 833 memset (&sb, 0, sizeof (IMAP_STATUS)); 834 sb.name = mailbox; 835 idata->mboxcache = mutt_add_list_n (idata->mboxcache, &sb, sizeof (IMAP_STATUS)); 836 status = imap_mboxcache_get (idata, mailbox); 837 status->name = safe_strdup (mailbox); 838 } 830 status = imap_mboxcache_get (idata, mailbox, 1); 839 831 olduv = status->uidvalidity; 840 832 oldun = status->uidnext;
