Show
Ignore:
Timestamp:
2007-03-30 19:41:27 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
default
Message:

Add close hook for mh/maildir.
stat the directory on open.
Make IMAP close function match prototype.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/imap.c

    r5027 r5028  
    12781278 
    12791279/* imap_close_mailbox: clean up IMAP data in CONTEXT */ 
    1280 void imap_close_mailbox (CONTEXT* ctx) 
     1280int imap_close_mailbox (CONTEXT* ctx) 
    12811281{ 
    12821282  IMAP_DATA* idata; 
     
    12861286  /* Check to see if the mailbox is actually open */ 
    12871287  if (!idata) 
    1288     return; 
     1288    return 0; 
    12891289 
    12901290  if (ctx == idata->ctx) 
     
    13261326 
    13271327  mutt_bcache_close (&idata->bcache); 
     1328 
     1329  return 0; 
    13281330} 
    13291331