Andreas Krennmair:
[apps/madmutt.git] / alias.c
diff --git a/alias.c b/alias.c
index 508e24b..1da1582 100644 (file)
--- 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);