diff options
author | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2022-03-22 10:44:02 +0100 |
---|---|---|
committer | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2022-03-22 11:44:00 +0100 |
commit | b28ac093688d0d3dbda8aa9755e1b9b54ed01e05 (patch) | |
tree | 7e03a0175b8de17e0facdd027353d256b200f2b6 /src/event | |
parent | 7c56eac154927e344c4720cad059e9a9752e16d5 (diff) | |
download | profani-tty-b28ac093688d0d3dbda8aa9755e1b9b54ed01e05.tar.gz |
a tad more `const`-correctness
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/server_events.c | 2 | ||||
-rw-r--r-- | src/event/server_events.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c index 8a308207..5963c96b 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -1134,7 +1134,7 @@ sv_ev_muc_occupant_online(const char* const room, const char* const nick, const } int -sv_ev_certfail(const char* const errormsg, TLSCertificate* cert) +sv_ev_certfail(const char* const errormsg, const TLSCertificate* cert) { // check profanity trusted certs if (tlscerts_exists(cert->fingerprint)) { diff --git a/src/event/server_events.h b/src/event/server_events.h index b377e2af..55818642 100644 --- a/src/event/server_events.h +++ b/src/event/server_events.h @@ -86,7 +86,7 @@ void sv_ev_roster_update(const char* const barejid, const char* const name, GSList* groups, const char* const subscription, gboolean pending_out); void sv_ev_roster_received(void); void sv_ev_connection_features_received(void); -int sv_ev_certfail(const char* const errormsg, TLSCertificate* cert); +int sv_ev_certfail(const char* const errormsg, const TLSCertificate* cert); void sv_ev_lastactivity_response(const char* const from, const int seconds, const char* const msg); void sv_ev_bookmark_autojoin(Bookmark* bookmark); |