diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-02-14 15:53:24 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-02-14 15:53:24 +0000 |
commit | fab825405f06b4f349513616584e243facdde5e8 (patch) | |
tree | 88a3d5ff6d5e3abb6fa5d12a34d1a6c7ea9b67d6 /attach.c | |
parent | 55ec58aafbaadd60dad947f127a53b1c967f7930 (diff) |
Fix a couple of random perror() calls and related problems.
Diffstat (limited to 'attach.c')
-rw-r--r-- | attach.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -792,7 +792,7 @@ int mutt_decode_save_attachment (FILE *fp, BODY *m, char *path, if (s.fpout == NULL) { - perror ("fopen"); + mutt_perror ("fopen"); return (-1); } @@ -804,14 +804,14 @@ int mutt_decode_save_attachment (FILE *fp, BODY *m, char *path, if (stat (m->filename, &st) == -1) { - perror ("stat"); + mutt_perror ("stat"); fclose (s.fpout); return (-1); } if ((s.fpin = fopen (m->filename, "r")) == NULL) { - perror ("fopen"); + mutt_perror ("fopen"); return (-1); } |