From 8eab15fff0fbc4c07f5d1e11d276b331af940a3e Mon Sep 17 00:00:00 2001 From: Jaeho Lee Date: Tue, 19 Mar 2013 14:05:36 +0900 Subject: [PATCH] fixed send_result bug Signed-off-by: Jaeho Lee --- am_daemon/amd_request.c | 2 +- packaging/aul.spec | 2 +- src/launch.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/am_daemon/amd_request.c b/am_daemon/amd_request.c index 89ab7c0..9bc7b06 100755 --- a/am_daemon/amd_request.c +++ b/am_daemon/amd_request.c @@ -114,7 +114,7 @@ static int __foward_cmd(int cmd, bundle *kb, int cr_pid) bundle_add(kb, AUL_K_CALLEE_PID, tmp_pid); bundle_encode(kb, &kb_data, &datalen); - if ((res = __app_send_raw(pid, cmd, kb_data, datalen)) < 0) + if ((res = __app_send_raw_with_noreply(pid, cmd, kb_data, datalen)) < 0) res = AUL_R_ERROR; free(kb_data); diff --git a/packaging/aul.spec b/packaging/aul.spec index 66af222..9aeb442 100644 --- a/packaging/aul.spec +++ b/packaging/aul.spec @@ -1,6 +1,6 @@ Name: aul Summary: App utility library -Version: 0.0.258 +Version: 0.0.259 Release: 1 Group: System/Libraries License: Apache License, Version 2.0 diff --git a/src/launch.c b/src/launch.c index 283ea8c..9c61808 100755 --- a/src/launch.c +++ b/src/launch.c @@ -299,8 +299,9 @@ int aul_sock_handler(int fd) return -1; } - if (pkt->cmd != APP_RESULT && pkt->cmd != APP_CANCEL) + if (pkt->cmd != APP_RESULT && pkt->cmd != APP_CANCEL) { __send_result_to_launchpad(clifd, 0); + } switch (pkt->cmd) { case APP_START: /* run in callee */ -- 2.7.4