From b3b76d9f5c36fc96e91cd170f6994215cb4ef146 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 29 Jun 2022 12:31:06 +0200 Subject: stanza: remove strange assignment --- src/xmpp/stanza.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmpp/stanza.c') 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()); -- cgit 1.4.1-2-gfad0