diff options
Diffstat (limited to 'src/xmpp/connection.c')
-rw-r--r-- | src/xmpp/connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index e25b8f6f..30ef0a9e 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -522,7 +522,7 @@ connection_create_stanza_id(void) (guchar*)prof_identifier, strlen(prof_identifier), rndid, strlen(rndid)); - char *ret = g_strdup_printf("%s%s", rndid, hmac); + char* ret = g_strdup_printf("%s%s", rndid, hmac); free(rndid); g_free(hmac); @@ -746,8 +746,8 @@ _compute_identifier(const char* barejid) free(prof_identifier); prof_identifier = g_compute_hmac_for_string(G_CHECKSUM_SHA256, - (guchar*)profanity_instance_id, strlen(profanity_instance_id), - barejid, strlen(barejid)); + (guchar*)profanity_instance_id, strlen(profanity_instance_id), + barejid, strlen(barejid)); } const char* |