Fix coding style 62/228662/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 24 Mar 2020 11:49:43 +0000 (20:49 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 24 Mar 2020 11:51:12 +0000 (20:51 +0900)
Change-Id: I277099b06973fe4306ad95e869a20ce12f2ff0e3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
receiver/src/ft.cpp

index cc821a9..9a8addd 100644 (file)
@@ -277,7 +277,7 @@ void request_sticker_data(const char *mode, const char *category, const char *ty
     if (!priv_data.socket) {
         pending_request.req_type = REQUEST_TYPE_SYNC;
         pending_request.mode = string(mode ? mode : "manual");
-        pending_request.category = string(category? category : "arsticker");
+        pending_request.category = string(category ? category : "arsticker");
         pending_request.type = string(type ? type : "input");
 
         LOGI("Push sync request");
@@ -302,7 +302,7 @@ void request_sticker_data(const char *mode, const char *category, const char *ty
     else {
         current_request.req_type = REQUEST_TYPE_SYNC;
         current_request.mode = string(mode ? mode : "manual");
-        current_request.category = string(category? category : "arsticker");
+        current_request.category = string(category ? category : "arsticker");
         current_request.type = string(type ? type : "input");
     }