Subject: bug#70902: closed (Re: [PATCH] Drop two invocations of 'apply'.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 13 Feb 2025 22:20:02 +0000

Your bug report

#70902: [PATCH] Drop two invocations of 'apply'.

which was filed against the mumi package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
70902: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70902
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] Drop two invocations of 'apply'.
From: Arun Isaac <[email-masked]>
To: [email-masked]
Cc: Felix Lechner <[email-masked]>
Date: Thu, 13 Feb 2025 22:19:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

I discovered these independently and fixed them in
0c9ed892e99189f74582a75f91fb8ab25e9fe498. Sorry about the duplicated
work. Thanks for reporting!

Subject: [PATCH] Drop two invocations of 'apply'.
From: Felix Lechner <[email-masked]>
To: [email-masked]
Cc: Felix Lechner <[email-masked]>
Date: Sun, 12 May 2024 21:20:12 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

They stood out among other nearby calls to render-html, and do not
appear to be needed.
---
 mumi/web/download.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mumi/web/download.scm b/mumi/web/download.scm
index 5c12fca..d4eb09e 100644
--- a/mumi/web/download.scm
+++ b/mumi/web/download.scm
@@ -56,7 +56,7 @@ PATH."
      (html-response (email-headers entry)
                     (email-body entry)))
     (_
-     (apply render-html (unknown id)))))
+     (render-html (unknown id)))))
 
 (define (download-raw id msg-num)
   "Handle download of an attachment for bug ID, message number
@@ -77,4 +77,4 @@ PATH."
                 (content-disposition text/plain
                                      (filename . ,(format #f "~a-~a.mbox" id msg-num))))
               (list-ref emails msg-num))
-      (apply render-html (unknown id))))
+      (render-html (unknown id))))

base-commit: 99416ed5c7d950eaf54d52023a2efd975bccac92
-- 
2.41.0