mmi-client: fixed indentation 36/264036/1
authorSung-Jin Park <sj76.park@samsung.com>
Sat, 24 Jul 2021 18:29:20 +0000 (03:29 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 13 Sep 2021 11:24:29 +0000 (20:24 +0900)
Change-Id: I8f19d5acba8e98c812f1edb20dec009a86a16fc8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/mmi-client.c

index 1f00e73..a42968a 100644 (file)
@@ -73,19 +73,19 @@ client_manager_add_client(const char* sender)
                return NULL;
 
        mc = calloc(1, sizeof(mmi_client));
-        if (!mc)
-        {
-                LOGE("Failed to allocate memory for client !\n");
-                return NULL;
-        }
+       if (!mc)
+       {
+               LOGE("Failed to allocate memory for client !\n");
+               return NULL;
+       }
 
        mc->sender = strdup(sender);
 
        if (!eina_hash_add(_client_hash, sender, mc))
-        {
-                LOGE("Failed to add client info to client hash !\n");
-                goto err;
-        }
+       {
+               LOGE("Failed to add client info to client hash !\n");
+               goto err;
+       }
 
        return mc;
 err:
@@ -228,10 +228,10 @@ client_manager_get_client_has_focus(mmi_client *client)
 const char *
 client_manager_get_client_sender(mmi_client *client)
 {
-       if (!client)
-               return NULL;
+       if (!client)
+               return NULL;
 
-       return client->sender;
+       return client->sender;
 }
 
 static void