From c6594d16ee0afd0f3b77d0d504f37d157808ee9a Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 12 Jun 2017 18:27:21 +0100 Subject: [PATCH] rename static function --- send.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/send.c b/send.c index 5f9a7f86c..698e12048 100644 --- a/send.c +++ b/send.c @@ -1265,7 +1265,7 @@ static int has_recips(struct Address *a) return c; } -static int mutt_search_attach_keyword(char *filename) +static int search_attach_keyword(char *filename) { /* Search for the regex in AttachKeyword within a file */ if (!AttachKeyword.rx) @@ -1942,7 +1942,7 @@ int ci_send_message(int flags, /* send mode */ #endif if (quadoption(OPT_ATTACH) != MUTT_NO && !msg->content->next && - mutt_search_attach_keyword(msg->content->filename) && + search_attach_keyword(msg->content->filename) && query_quadoption(OPT_ATTACH, _("No attachments, cancel sending?")) != MUTT_NO) { /* if the abort is automatic, print an error message */ -- 2.40.0