talons

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

commit f18a7806b0a5996a5ad8f9db7194cee372e3cc52
parent 9ffe6db441e441feea5d4ff5ad055d9b2e407c25
Author: Michael Rasmussen <mir@datanom.net>
Date:   Thu,  9 Sep 2021 23:48:14 +0200

Fix CID 1491374

Signed-off-by: Michael Rasmussen <mir@datanom.net>

Diffstat:
Msrc/plugins/notification/gtkhotkey/gtk-hotkey-key-file-registry.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/notification/gtkhotkey/gtk-hotkey-key-file-registry.c b/src/plugins/notification/gtkhotkey/gtk-hotkey-key-file-registry.c @@ -413,7 +413,8 @@ gtk_hotkey_key_file_registry_real_delete_hotkey (GtkHotkeyRegistry *base, } tmp_error = NULL; - g_file_set_contents (path, contents, size, &tmp_error); + if (g_file_set_contents (path, contents, size, &tmp_error) != TRUE) + FILE_OP_ERROR(path, "g_file_set_contents"); if (tmp_error) { g_set_error (error, GTK_HOTKEY_REGISTRY_ERROR, GTK_HOTKEY_REGISTRY_ERROR_IO,