diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-22 12:47:32 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-22 12:47:32 +0200 |
commit | 22bf281399d8e077b8c0d1bd5bc478b910d61109 (patch) | |
tree | 72ec95f339395d8196aa9ec2c8fd3016b89ae029 /src/xmpp/message.c | |
parent | 6b75848f9668fc8b24701a5742d05438253ac244 (diff) | |
download | profani-tty-22bf281399d8e077b8c0d1bd5bc478b910d61109.tar.gz |
Make prof_identifier const
Diffstat (limited to 'src/xmpp/message.c')
-rw-r--r-- | src/xmpp/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c index d11af8b6..9a82b1f4 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -1172,7 +1172,7 @@ message_is_sent_by_us(ProfMessage *message) { // our client sents at least 36 (uuid) + identifier if (tmp_len > 36) { char *uuid = g_strndup(tmp, 36); - char *prof_identifier = connection_get_profanity_identifier(); + const char *prof_identifier = connection_get_profanity_identifier(); gchar *hmac = g_compute_hmac_for_string(G_CHECKSUM_SHA256, (guchar*)prof_identifier, strlen(prof_identifier), |