talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 6f604e06bde7aa936cfe644531d7452a6a90872f
parent badf457436adc4cbea42390e4fe71323fbb2b988
Author: wwp <subscript@free.fr>
Date:   Fri, 10 Sep 2021 10:33:29 +0200

Fix duplicate g_unlink (thanks, Colin).

Diffstat:
Msrc/plugins/archive/libarchive_archive.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/plugins/archive/libarchive_archive.c b/src/plugins/archive/libarchive_archive.c @@ -257,7 +257,6 @@ void archive_free_file_list(gboolean md5, gboolean rename) { if (rename) { path = g_strdup_printf("%s/%s", file->path, file->name); debug_print("unlinking %s\n", path); - g_unlink(path); if (g_unlink(path) < 0) FILE_OP_ERROR(path, "g_unlink"); g_free(path);