1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Format Maxis commit properly

This commit is contained in:
Michael Vetter 2022-09-29 11:11:01 +02:00
parent 021927a549
commit 4b2bbe59ea

View File

@ -2661,7 +2661,7 @@ stanza_create_avatar_metadata_publish_iq(xmpp_ctx_t* ctx, const char* img_data,
xmpp_stanza_set_name(info, STANZA_NAME_INFO); xmpp_stanza_set_name(info, STANZA_NAME_INFO);
xmpp_stanza_set_attribute(info, "id", sha1); xmpp_stanza_set_attribute(info, "id", sha1);
xmpp_free(ctx, sha1); xmpp_free(ctx, sha1);
char* bytes = g_strdup_printf("%"G_GSIZE_FORMAT, len); char* bytes = g_strdup_printf("%" G_GSIZE_FORMAT, len);
char* h = g_strdup_printf("%d", height); char* h = g_strdup_printf("%d", height);
char* w = g_strdup_printf("%d", width); char* w = g_strdup_printf("%d", width);
xmpp_stanza_set_attribute(info, "bytes", bytes); xmpp_stanza_set_attribute(info, "bytes", bytes);