Changeset 5042:becbad651ecc for imap

Show
Ignore:
Timestamp:
2007-04-02 10:02:57 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Cache IMAP access checks

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/imap.c

    r5041 r5042  
    8484    return 0; 
    8585  } 
    86  
    8786  FREE (&mx.mbox); 
     87 
     88  if (imap_mboxcache_get (idata, mailbox)) 
     89  { 
     90    dprint (3, (debugfile, "imap_access: found %s in cache\n", mailbox)); 
     91    return 0; 
     92  } 
     93 
    8894  imap_munge_mbox_name (mbox, sizeof (mbox), mailbox); 
    8995