diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-05-04 14:26:26 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-05-04 14:26:43 +0200 |
commit | 1eaa2c15291cde4eb8b7656db46aa096b50d9af9 (patch) | |
tree | 9d627e4286d7684001cf2209d0ee2f503e22f163 /src/xmpp | |
parent | 54b57326b89628601d1cd9fb55cbe0f08392e9e4 (diff) | |
download | profani-tty-1eaa2c15291cde4eb8b7656db46aa096b50d9af9.tar.gz |
ox: prefix function _openpgp_signcrypt with ox_
To make the destinction clearer and easier to search.
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/message.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c index fb58285e..70b40e25 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -91,7 +91,7 @@ static gboolean _handle_jingle_message(xmpp_stanza_t* const stanza); static gboolean _should_ignore_based_on_silence(xmpp_stanza_t* const stanza); #ifdef HAVE_LIBGPGME -static xmpp_stanza_t* _openpgp_signcrypt(xmpp_ctx_t* ctx, const char* const to, const char* const text); +static xmpp_stanza_t* _ox_openpgp_signcrypt(xmpp_ctx_t* ctx, const char* const to, const char* const text); #endif // HAVE_LIBGPGME static GHashTable* pubsub_event_handlers; @@ -540,7 +540,7 @@ message_send_chat_ox(const char* const barejid, const char* const msg, gboolean xmpp_stanza_set_name(openpgp, STANZA_NAME_OPENPGP); xmpp_stanza_set_ns(openpgp, STANZA_NS_OPENPGP_0); - xmpp_stanza_t* signcrypt = _openpgp_signcrypt(ctx, barejid, msg); + xmpp_stanza_t* signcrypt = _ox_openpgp_signcrypt(ctx, barejid, msg); char* c; size_t s; xmpp_stanza_to_text(signcrypt, &c, &s); @@ -1610,7 +1610,7 @@ message_is_sent_by_us(const ProfMessage* const message, bool checkOID) #ifdef HAVE_LIBGPGME static xmpp_stanza_t* -_openpgp_signcrypt(xmpp_ctx_t* ctx, const char* const to, const char* const text) +_ox_openpgp_signcrypt(xmpp_ctx_t* ctx, const char* const to, const char* const text) { time_t now = time(NULL); struct tm* tm = localtime(&now); |