Fix invalid command collect logic 30/110030/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170117.174615 accepted/tizen/ivi/20170117.054355 accepted/tizen/mobile/20170117.054259 accepted/tizen/tv/20170117.054318 accepted/tizen/unified/20170309.034934 accepted/tizen/wearable/20170117.054338 submit/tizen/20170117.032501 submit/tizen_unified/20170308.100411
authorKwangyoun Kim <ky85.kim@samsung.com>
Thu, 12 Jan 2017 05:46:35 +0000 (14:46 +0900)
committerKwangyoun Kim <ky85.kim@samsung.com>
Thu, 12 Jan 2017 12:08:03 +0000 (04:08 -0800)
Change-Id: Icad239763cd78701585fa546dd215a4b2cb194da

server/vcd_server.c

index dcefbac..9feed7e 100755 (executable)
@@ -1451,6 +1451,11 @@ static int __start_internal_recognition()
 {
        int ret;
 
+       if (0 != vcd_client_command_collect_command()) {
+               SLOG(LOG_ERROR, TAG_VCD, "[Client Data ERROR] Fail to collect command");
+               return VCD_ERROR_OPERATION_FAILED;
+       }
+
        /* 3. Set command to engine */
        ret = vcd_engine_set_commands();
        if (0 != ret) {