about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-06-29 13:05:20 +0200
committerGitHub <noreply@github.com>2022-06-29 13:05:20 +0200
commitd8645a875bd8a90e47b5eed48cbb3342612a2c28 (patch)
tree5063a921869e4bdc407ce5c1ec839e97f667db6d /src/xmpp
parent412a0a573714c11188cd4a59d871509f8eebbf86 (diff)
parentb3b76d9f5c36fc96e91cd170f6994215cb4ef146 (diff)
downloadprofani-tty-d8645a875bd8a90e47b5eed48cbb3342612a2c28.tar.gz
Merge pull request #1729 from profanity-im/various-cleanups
Various cleanups
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/stanza.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c
index 8dcad982..c6bf19fb 100644
--- a/src/xmpp/stanza.c
+++ b/src/xmpp/stanza.c
@@ -2635,7 +2635,7 @@ stanza_create_avatar_data_publish_iq(xmpp_ctx_t* ctx, const char* img_data, gsiz
 xmpp_stanza_t*
 stanza_create_avatar_metadata_publish_iq(xmpp_ctx_t* ctx, const char* img_data, gsize len, int height, int width)
 {
-    char* id = id = connection_create_stanza_id();
+    char* id = connection_create_stanza_id();
     xmpp_stanza_t* iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id);
     free(id);
     xmpp_stanza_set_attribute(iq, STANZA_ATTR_FROM, connection_get_fulljid());