mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Make prof_identifier const
This commit is contained in:
parent
6b75848f96
commit
22bf281399
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user