Changeset 5041:4f598543d7a5

Show
Ignore:
Timestamp:
2007-04-01 23:12:45 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Adjust context->size on IMAP load and expunge (closes #2749)

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5039 r5041  
     12007-04-01 20:00 -0700  Ambrose Li  <a.c.li@ieee.org>  (38e896c4c192) 
     2 
     3        * po/zh_TW.po: Updated Taiwanese translation 
     4 
     52007-04-01 15:40 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (6dcb53bc679c) 
     6 
     7        * crypt-gpgme.c: gpgme: check result for signatures pointer 
     8        (closes: #2199) 
     9 
    1102007-04-01 15:33 -0700  Brendan Cully  <brendan@kublai.com>  (3a81b3793f77) 
    211 
  • imap/imap.c

    r5033 r5041  
    259259 
    260260      h->active = 0; 
     261      idata->ctx->size -= h->content->length; 
    261262 
    262263      imap_cache_del (idata, h); 
  • imap/message.c

    r5034 r5041  
    191191 
    192192          ctx->msgcount++; 
     193          ctx->size += ctx->hdrs[idx]->content->length; 
    193194        } 
    194195        else 
     
    293294      /* content built as a side-effect of mutt_read_rfc822_header */ 
    294295      ctx->hdrs[idx]->content->length = h.content_length; 
     296      ctx->size += h.content_length; 
    295297 
    296298#if USE_HCACHE