diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-22 12:04:16 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-22 12:04:16 +0200 |
commit | 6b75848f9668fc8b24701a5742d05438253ac244 (patch) | |
tree | f1478bc36fa68fd21c3db3a0035fb435d502aaa2 /src | |
parent | f023eb8d722ecdb4df65d065666b6454383af90a (diff) | |
download | profani-tty-6b75848f9668fc8b24701a5742d05438253ac244.tar.gz |
Display ownership of connection_get_profanity_identifier
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/connection.c | 2 | ||||
-rw-r--r-- | src/xmpp/xmpp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 7dba20f7..17b93217 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -688,6 +688,6 @@ static void _compute_identifier(const char *barejid) prof_identifier = b64; } -char *connection_get_profanity_identifier(void) { +const char* connection_get_profanity_identifier(void) { return prof_identifier; } diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 4a1b9b2a..33864d2f 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -162,7 +162,7 @@ GList* connection_get_available_resources(void); gboolean connection_supports(const char *const feature); char* connection_jid_for_feature(const char *const feature); -char *connection_get_profanity_identifier(void); +const char* connection_get_profanity_identifier(void); char* message_send_chat(const char *const barejid, const char *const msg, const char *const oob_url, gboolean request_receipt); |