fixed send_result bug
authorJaeho Lee <jaeho81.lee@samsung.com>
Tue, 19 Mar 2013 05:05:36 +0000 (14:05 +0900)
committerJaeho Lee <jaeho81.lee@samsung.com>
Tue, 19 Mar 2013 05:05:36 +0000 (14:05 +0900)
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
am_daemon/amd_request.c
packaging/aul.spec
src/launch.c

index 89ab7c0..9bc7b06 100755 (executable)
@@ -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);
index 66af222..9aeb442 100644 (file)
@@ -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
index 283ea8c..9c61808 100755 (executable)
@@ -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 */