projects
/
platform
/
core
/
appfw
/
pkgmgr-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a9b8f
)
Fix mismatched return type for get_restriction_mode
09/162309/1
author
Semun Lee
<semun.lee@samsung.com>
Thu, 30 Nov 2017 07:36:41 +0000
(16:36 +0900)
committer
Semun Lee
<semun.lee@samsung.com>
Thu, 30 Nov 2017 07:36:41 +0000
(16:36 +0900)
Change-Id: If3c0a5614c5dd5d77c0d7af52b869e9a44b997ba
Signed-off-by: Semun Lee <semun.lee@samsung.com>
src/request.c
patch
|
blob
|
history
diff --git
a/src/request.c
b/src/request.c
index
7bb0346
..
e973f10
100644
(file)
--- a/
src/request.c
+++ b/
src/request.c
@@
-1650,7
+1650,7
@@
static int __handle_request_get_restriction_mode(uid_t caller_uid,
g_variant_get(parameters, "(us)", &target_uid, &pkgid);
if (target_uid == (uid_t)-1 || pkgid == NULL) {
g_dbus_method_invocation_return_value(invocation,
- g_variant_new("(i
)"
, PKGMGR_R_ECOMM));
+ g_variant_new("(i
i)", -1
, PKGMGR_R_ECOMM));
return -1;
}