Code Normalization ,delete the blank before ; 85/192385/3
authorjingjin.geng <jingjin.geng@samsung.com>
Mon, 5 Nov 2018 23:15:33 +0000 (07:15 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 8 Feb 2019 00:25:18 +0000 (00:25 +0000)
Change-Id: I5a548795a2540a6c02802d695aef1a836adf7138

service/src/service.c

index 8e05ca8..3ca4e90 100755 (executable)
@@ -177,7 +177,7 @@ static int __message_send(rpc_port_stub_message_context_h context,
             wt_lists = nltk_word_tokenize(info);
             len = nltk_get_size_from_list(wt_lists);
             char *tokens[BUF_LEN_128] = {NULL,};
-            for(int i = 0 ;i < len ;i++)
+            for(int i = 0; i < len; i++)
             {
                 tokens[i] = (char*)malloc(BUF_LEN_128*sizeof(char));
                 if(tokens[i]!=NULL)
@@ -197,7 +197,7 @@ static int __message_send(rpc_port_stub_message_context_h context,
             }
             bundle_add_str(reply, "command", "word_tokenize");
             bundle_add_str_array(reply, "return_token", (const char **)tokens, len);
-            for(int j = 0 ;j < len ;j++)
+            for(int j = 0; j < len; j++)
             {
                 free(tokens[j]);
             }
@@ -213,7 +213,7 @@ static int __message_send(rpc_port_stub_message_context_h context,
             len = nltk_get_size_from_list(pt_result);
             char *tag[BUF_LEN_128] = {NULL,};
             char *token[BUF_LEN_128] = {NULL,};
-            for(int i = 0 ;i < len ;i++)
+            for(int i = 0; i < len; i++)
             {
                 token[i] = (char*)malloc(BUF_LEN_128*sizeof(char));
                 tag[i] = (char*)malloc(BUF_LEN_128*sizeof(char));
@@ -251,7 +251,7 @@ static int __message_send(rpc_port_stub_message_context_h context,
             bundle_add_str(reply, "command", "pos_tag");
             bundle_add_str_array(reply, "return_tag", (const char **)tag, len);
             bundle_add_str_array(reply, "return_token", (const char **)token, len);
-            for(int j = 0 ;j < len ;j++)
+            for(int j = 0; j < len; j++)
             {
                 free(tag[j]);
                 free(token[j]);
@@ -268,7 +268,7 @@ static int __message_send(rpc_port_stub_message_context_h context,
             len = nltk_get_size_from_list(ne_result);
             char *s_tag[BUF_LEN_128] = {NULL,};
             char *s_token[BUF_LEN_128] = {NULL,};
-            for(int i = 0 ;i < len ;i++)
+            for(int i = 0; i < len; i++)
             {
                 s_token[i] = (char*)malloc(BUF_LEN_128*sizeof(char));
                 s_tag[i] = (char*)malloc(BUF_LEN_128*sizeof(char));
@@ -306,7 +306,7 @@ static int __message_send(rpc_port_stub_message_context_h context,
             bundle_add_str(reply, "command", "ne_chunk");
             bundle_add_str_array(reply, "return_tag", (const char **)s_tag, len);
             bundle_add_str_array(reply, "return_token", (const char **)s_token, len);
-            for(int j = 0 ;j < len ;j++)
+            for(int j = 0; j < len; j++)
             {
                 free(s_tag[j]);
                 free(s_token[j]);