diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-03-23 13:02:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 13:02:01 +0100 |
commit | 2c7f52f81da1664e2ce099614c98dbba61611279 (patch) | |
tree | 9a78c9780dfd64c177ef382feab1636d7a8fe8e2 /src/ui | |
parent | 5ea7186c27196340c72a1f83736cca79dd9b692d (diff) | |
parent | 3a86b8c29b1ccff7383478e980a7edf3aec3979a (diff) | |
download | profani-tty-2c7f52f81da1664e2ce099614c98dbba61611279.tar.gz |
Merge pull request #1652 from profanity-im/fix-1624
Fix #1624
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 4 | ||||
-rw-r--r-- | src/ui/ui.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 8d3e13a3..170def7c 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -181,7 +181,7 @@ cons_show_error(const char* const msg, ...) } void -cons_show_tlscert_summary(TLSCertificate* cert) +cons_show_tlscert_summary(const TLSCertificate* cert) { if (!cert) { return; @@ -193,7 +193,7 @@ cons_show_tlscert_summary(TLSCertificate* cert) } void -cons_show_tlscert(TLSCertificate* cert) +cons_show_tlscert(const TLSCertificate* cert) { if (!cert) { return; diff --git a/src/ui/ui.h b/src/ui/ui.h index 5257df60..6805b362 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -333,8 +333,8 @@ void cons_show_contact_online(PContact contact, Resource* resource, GDateTime* l void cons_show_contact_offline(PContact contact, char* resource, char* status); void cons_theme_properties(void); void cons_theme_colours(void); -void cons_show_tlscert(TLSCertificate* cert); -void cons_show_tlscert_summary(TLSCertificate* cert); +void cons_show_tlscert(const TLSCertificate* cert); +void cons_show_tlscert_summary(const TLSCertificate* cert); void cons_alert(ProfWin* alert_origin_window); void cons_remove_alert(ProfWin* window); |