Changeset 4439:0383a03ba8ae for attach.c

Show
Ignore:
Timestamp:
2005-10-20 21:35:37 (3 years ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Full large file support. Keep a close watch on your mailboxes everyone!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r4343 r4439  
    169169            /* Remove headers by copying out data to another file, then  
    170170             * copying the file back */ 
    171             fseek (fp, b->offset, 0); 
     171            fseeko (fp, b->offset, 0); 
    172172            mutt_mktemp (tempfile); 
    173173            if ((tfp = safe_fopen (tempfile, "w")) == NULL) 
     
    772772      hn->read = 1; 
    773773 
    774       fseek (fp, m->offset, 0); 
     774      fseeko (fp, m->offset, 0); 
    775775      if (fgets (buf, sizeof (buf), fp) == NULL) 
    776776        return -1; 
     
    807807        return (-1); 
    808808      } 
    809       fseek ((s.fpin = fp), m->offset, 0); 
     809      fseeko ((s.fpin = fp), m->offset, 0); 
    810810      mutt_decode_attachment (m, &s); 
    811811