Changeset 1349:a4809fdd40fa for attach.c

Show
Ignore:
Timestamp:
1999-11-07 14:19:45 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Rewriting lots of the recvattach code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r1086 r1349  
    361361 
    362362/* returns -1 on error, 0 or the return code from mutt_do_pager() on success */ 
    363 int mutt_view_attachment (FILE *fp, BODY *a, int flag) 
     363int mutt_view_attachment (FILE *fp, BODY *a, int flag, HEADER *hdr, 
     364                          ATTACHPTR **idx, short idxlen) 
    364365{ 
    365366  char tempfile[_POSIX_PATH_MAX] = ""; 
     
    571572    info.bdy = a; 
    572573    info.ctx = Context; 
     574    info.idx = idx; 
     575    info.idxlen = idxlen; 
     576    info.hdr = hdr; 
     577 
    573578    rc = mutt_do_pager (descrip, pagerfile, 
    574579                        is_message ? M_PAGER_MESSAGE : 0, &info);