[Commits] [SCM] claws branch, master, updated. 4.2.0-106-g32a989b74
paul at claws-mail.org
paul at claws-mail.org
Thu Jun 6 08:55:07 UTC 2024
The branch, master has been updated
via 32a989b74ab276aab4a6d311ee9d7a4d1c9c57dd (commit)
from d6e8d04203e47e0677e3cc743761491ee380dd96 (commit)
Summary of changes:
src/compose.c | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit 32a989b74ab276aab4a6d311ee9d7a4d1c9c57dd
Author: Paul <paul at claws-mail.org>
Date: Thu Jun 6 09:55:03 2024 +0100
don't remain silent when file insertion fails
diff --git a/src/compose.c b/src/compose.c
index c5be0827a..184a2d81f 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -3790,6 +3790,10 @@ static ComposeInsertResult compose_insert_file(Compose *compose, const gchar *fi
compose->autowrap = prev_autowrap;
if (compose->autowrap)
compose_wrap_all(compose);
+ } else {
+ gchar *filename = g_path_get_basename(file);
+ debug_print("Can't insert file '%s' (invalid character)\n", filename);
+ g_free(filename);
}
g_string_free(file_contents, TRUE);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list