X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=alias.c;h=1da1582ec9df156f9881623951ddc2908b25ac36;hp=508e24b6eb3d8b650589d7e6deac65d5d12b007a;hb=e96efa56257b45e9c3d1fb1b30071c57512cfe28;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/alias.c b/alias.c index 508e24b..1da1582 100644 --- a/alias.c +++ b/alias.c @@ -327,7 +327,7 @@ retry_name: if (mutt_get_field (_("Save to file: "), buf, sizeof (buf), M_FILE) != 0) return; mutt_expand_path (buf, sizeof (buf)); - if ((rc = fopen (buf, "a"))) + if ((rc = safe_fopen (buf, "a"))) { if (mutt_check_alias_name (new->name, NULL)) mutt_quote_filename (buf, sizeof (buf), new->name);