From: sooyeon Date: Thu, 30 Jun 2022 04:37:55 +0000 (+0900) Subject: Fix a minor issue (engine_appid was not saved in info handle) X-Git-Tag: submit/tizen/20220801.042437~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=570e4da59c2d2838ed6e1cd21fb66a90e3af04db;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Fix a minor issue (engine_appid was not saved in info handle) Change-Id: I380beddfa0953fd21a9524158d8aa5b8f098878c Signed-off-by: sooyeon --- diff --git a/client/vc_tidl.c b/client/vc_tidl.c index 04698a7..61ea8ea 100644 --- a/client/vc_tidl.c +++ b/client/vc_tidl.c @@ -355,16 +355,16 @@ int vc_tidl_open_connection() } int pid = getpid(); - char* engine_appid = __get_engine_appid(); + info->pid = pid; + info->engine_appid = __get_engine_appid(); - info->rpc_h = __create_rpc_port(pid, engine_appid); + info->rpc_h = __create_rpc_port(pid, info->engine_appid); if (NULL == info->rpc_h) { SLOG(LOG_ERROR, TAG_VCC, "[TIDL ERROR] Fail to create proxy"); free(info); return VC_ERROR_OPERATION_FAILED; } - info->pid = pid; g_tidl_infos = g_list_append(g_tidl_infos, info); SLOG(LOG_ERROR, TAG_VCC, "[TIDL] pid(%d) rpc_h(%p), engine_appid(%s)", pid, info->rpc_h, info->engine_appid);