X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=edit.c;h=8cd407beadbdc2ca36552ca314fcfd15d98a2957;hp=e29cb6691efaa61ef4e6bc1b5c25900361bcc03a;hb=1d7238dc43311c4545883dc1151bf5b142d88c0b;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/edit.c b/edit.c index e29cb66..8cd407b 100644 --- a/edit.c +++ b/edit.c @@ -118,7 +118,7 @@ static int be_barf_file (const char *path, char **buf, int buflen) FILE *f; int i; - if ((f = fopen (path, "w")) == NULL) /* __FOPEN_CHECKED__ */ + if ((f = safe_fopen (path, "w")) == NULL) /* __FOPEN_CHECKED__ */ { addstr (strerror (errno)); addch ('\n');