[Commits] [SCM] claws branch, master, updated. 4.2.0-58-g8ba8533be

wwp at claws-mail.org wwp at claws-mail.org
Sun Feb 18 16:11:56 UTC 2024


The branch, master has been updated
       via  8ba8533be86f6008594d1f7835b54a73ddd63e6b (commit)
      from  ccb54751a539c2a9c8de8fd413fed7740d77b791 (commit)

Summary of changes:
 src/privacy.c | 4 +---
 src/privacy.h | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 8ba8533be86f6008594d1f7835b54a73ddd63e6b
Author: wwp <subscript at free.fr>
Date:   Sun Feb 18 17:10:52 2024 +0100

    Fix bug 4781, 'use correct prototype for privacy_free_signature_data', patch by Olaf Hering

diff --git a/src/privacy.c b/src/privacy.c
index 87ff87f08..fc4e60c07 100644
--- a/src/privacy.c
+++ b/src/privacy.c
@@ -111,10 +111,8 @@ void privacy_free_privacydata(PrivacyData *privacydata)
 	system->free_privacydata(privacydata);
 }
 
-void privacy_free_signature_data(gpointer data)
+void privacy_free_signature_data(SignatureData *sig_data)
 {
-	SignatureData *sig_data = (SignatureData *)data;
-
 	cm_return_if_fail(sig_data != NULL);
 
 	g_free(sig_data->info_short);
diff --git a/src/privacy.h b/src/privacy.h
index bff974e4d..65051dafc 100644
--- a/src/privacy.h
+++ b/src/privacy.h
@@ -54,7 +54,7 @@ void privacy_register_system			(PrivacySystem *system);
 void privacy_unregister_system			(PrivacySystem *system);
 
 void privacy_free_privacydata			(PrivacyData *);
-void privacy_free_signature_data		(gpointer);
+void privacy_free_signature_data		(SignatureData *sig_data);
 void privacy_free_sig_check_task_result	(gpointer);
 
 void privacy_msginfo_get_signed_state		(MsgInfo *, gchar **system);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list