about summary refs log tree commit diff stats
path: root/src/xmpp/avatar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/avatar.c')
-rw-r--r--src/xmpp/avatar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/avatar.c b/src/xmpp/avatar.c
index 25889a75..89d34fbc 100644
--- a/src/xmpp/avatar.c
+++ b/src/xmpp/avatar.c
@@ -154,11 +154,11 @@ _avatar_metadata_handler(xmpp_stanza_t* const stanza, void* const userdata)
                 const char* id = xmpp_stanza_get_id(info);
                 const char* type = xmpp_stanza_get_attribute(info, "type");
 
-                if(id && type) {
+                if (id && type) {
                     log_debug("Avatar ID for %s is: %s", from, id);
 
                     avatar_metadata* data = malloc(sizeof(avatar_metadata));
-                    if(data) {
+                    if (data) {
                         data->type = strdup(type);
                         data->id = strdup(id);