X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=edit.c;h=8cd407beadbdc2ca36552ca314fcfd15d98a2957;hb=1d7238dc43311c4545883dc1151bf5b142d88c0b;hp=e29cb6691efaa61ef4e6bc1b5c25900361bcc03a;hpb=ce2c6b74b93777c66708ef0cfb7cc14ff1bf6a94;p=apps%2Fmadmutt.git 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');