projects
/
platform
/
core
/
appfw
/
rpc-port.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a249f0c
)
Convert error value
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 16 Apr 2020 11:15:38 +0000
(20:15 +0900)
committer
Jusung Son
<jusung07.son@samsung.com>
Tue, 21 Apr 2020 03:59:25 +0000
(12:59 +0900)
The return valuf of aul_rpc_port_prepare_stub() is changed to AUL return
values.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/229712/
Change-Id: I6d02a978617e5ed7412d20ee88145ece97defa56
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/fdbroker-internal.cc
patch
|
blob
|
history
diff --git
a/src/fdbroker-internal.cc
b/src/fdbroker-internal.cc
index
77e19be
..
647a39d
100644
(file)
--- a/
src/fdbroker-internal.cc
+++ b/
src/fdbroker-internal.cc
@@
-755,6
+755,9
@@
int FdBroker::Prepare(const std::string& target_appid,
if (ret != AUL_R_OK) {
LOGE("Failed to prepare stub %s:%s [ret : %d]",
target_appid.c_str(), port_name.c_str(), ret);
+ if (ret == AUL_R_EILLACC)
+ return -EILLEGALACCESS;
+
return ret;
}
}