From: sooyeon Date: Mon, 28 Mar 2022 16:20:08 +0000 (+0900) Subject: Add a checker whether requesting connection is failed or not X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8df5156de8eb7efd1cd50a14ed04a035bf9f619;p=platform%2Fcore%2Fuifw%2Ftts.git Add a checker whether requesting connection is failed or not Change-Id: I050f1be537e0267f2a0f2fb58928d5feaa1ce24b Signed-off-by: sooyeon --- diff --git a/client/tts_tidl.c b/client/tts_tidl.c index 55d040e5..27923401 100644 --- a/client/tts_tidl.c +++ b/client/tts_tidl.c @@ -343,6 +343,11 @@ static void __request_tidl_connect(tts_tidl_info_s* info) } int ret = rpc_port_proxy_tts_connect(info->rpc_h); + if (RPC_PORT_ERROR_NONE != ret) { + SLOG(LOG_INFO, TAG_TTSC, "[INFO] Fail to request connection to stub. ret(%d)", ret); + return; + } + SLOG(LOG_INFO, TAG_TTSC, "[INFO] Request connection to stub. ret(%d)", ret); info->connection_requesting = true;