guile: avoid body duplication

In message, don't re-fill when unneeded. Add tests.

Fixes #2802.
This commit is contained in:
Dirk-Jan C. Binnema
2025-02-05 21:16:15 +02:00
parent d33adc923c
commit c0887603c5
3 changed files with 28 additions and 15 deletions

View File

@ -333,7 +333,7 @@ SCM_DEFINE(get_parts,
attlist = scm_cons(elm, attlist);
}
/* explicitly close the file backend, so we won't run of fds */
/* explicitly close the file backend, so we won't run out of fds */
msg->unload_mime_message();
return attlist;