Fix coding rule error 01/175001/1 accepted/tizen/unified/20180406.061952 submit/tizen/20180406.014804
authorsinikang <sinikang@samsung.com>
Fri, 6 Apr 2018 01:28:05 +0000 (10:28 +0900)
committersinikang <sinikang@samsung.com>
Fri, 6 Apr 2018 01:28:05 +0000 (10:28 +0900)
Change-Id: Ifc15da132bbf151303b63ca70210ee753e73769c

packaging/libtcore.spec
src/server.c

index 33bfa48..2c9c5c1 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 3
-%define patchlevel 21
+%define patchlevel 22
 
 Name:           libtcore
 Version:        %{major}.%{minor}.%{patchlevel}
index 18cee83..a2ca509 100644 (file)
@@ -312,21 +312,22 @@ TcorePlugin *tcore_server_find_plugin(Server *s, const char *name)
        return NULL;
 }
 
-TcorePlugin *tcore_server_search_plugin_list(Server *s, const char *desc_name){
+TcorePlugin *tcore_server_search_plugin_list(Server *s, const char *desc_name)
+{
        GSList *list;
        TcorePlugin* plugin = NULL;
        struct tcore_plugin_define_desc *desc = NULL;
 
        dbg("Name: [%s]", desc_name);
 
-       for(list = s->plugins; list; list = list->next){
+       for (list = s->plugins; list; list = list->next) {
                plugin = list->data;
 
-               if(plugin == NULL)
+               if (plugin == NULL)
                        continue;
                desc = (struct tcore_plugin_define_desc *)tcore_plugin_get_description(plugin);
 
-               if(g_strcmp0(desc->name, desc_name) == 0){
+               if (g_strcmp0(desc->name, desc_name) == 0) {
                        return plugin;
                }
                desc = NULL;