Changeset 1520:b6532d69ecf5 for attach.c

Show
Ignore:
Timestamp:
2000-02-14 07:53:24 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Fix a couple of random perror() calls and related problems.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r1516 r1520  
    793793  if (s.fpout == NULL) 
    794794  { 
    795     perror ("fopen"); 
     795    mutt_perror ("fopen"); 
    796796    return (-1); 
    797797  } 
     
    805805    if (stat (m->filename, &st) == -1) 
    806806    { 
    807       perror ("stat"); 
     807      mutt_perror ("stat"); 
    808808      fclose (s.fpout); 
    809809      return (-1); 
     
    812812    if ((s.fpin = fopen (m->filename, "r")) == NULL) 
    813813    { 
    814       perror ("fopen"); 
     814      mutt_perror ("fopen"); 
    815815      return (-1); 
    816816    }