summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeho Lee <jaeho81.lee@samsung.com>2013-03-19 14:05:36 +0900
committerJaeho Lee <jaeho81.lee@samsung.com>2013-03-19 14:05:36 +0900
commit8eab15fff0fbc4c07f5d1e11d276b331af940a3e (patch)
tree439f6245a65ac6818114fc4603b41a2fcdd7de30
parent36056ebbb4b4bf61ad02544a5ab6c25ef0dd160b (diff)
downloadaul-1-8eab15fff0fbc4c07f5d1e11d276b331af940a3e.tar.gz
aul-1-8eab15fff0fbc4c07f5d1e11d276b331af940a3e.tar.bz2
aul-1-8eab15fff0fbc4c07f5d1e11d276b331af940a3e.zip
fixed send_result bug
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
-rwxr-xr-xam_daemon/amd_request.c2
-rw-r--r--packaging/aul.spec2
-rwxr-xr-xsrc/launch.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/am_daemon/amd_request.c b/am_daemon/amd_request.c
index 89ab7c0c..9bc7b063 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 66af222b..9aeb442b 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 283ea8c0..9c618083 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 */