Changeset 1520:b6532d69ecf5

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:
2 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    } 
  • compose.c

    r1516 r1520  
    10631063        mutt_attach_display_loop (menu, op, NULL, NULL, idx, idxlen); 
    10641064        menu->redraw = REDRAW_FULL; 
    1065         mutt_clear_error (); 
    10661065        break; 
    10671066