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:
1 modified

Legend:

Unmodified
Added
Removed
  • 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