projects
/
platform
/
core
/
context
/
context-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25fdcf2
)
revise tzplatform api usage as guide
90/260290/1
accepted/tizen_6.5_unified
accepted/tizen_7.0_unified
accepted/tizen_7.0_unified_hotfix
tizen_6.5
tizen_7.0
tizen_7.0_hotfix
accepted/tizen/6.5/unified/20211028.101428
accepted/tizen/7.0/unified/20221110.061310
accepted/tizen/7.0/unified/hotfix/20221116.105243
accepted/tizen/unified/20210624.131833
submit/tizen/20210623.100758
submit/tizen_6.5/20211028.162201
tizen_6.5.m2_release
tizen_7.0_m2_release
author
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 23 Jun 2021 07:13:29 +0000
(16:13 +0900)
committer
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 23 Jun 2021 07:13:29 +0000
(16:13 +0900)
Change-Id: Ice2a4e66bbfd7bafd09f0923423bace2d4c0575b
src/server/ServerUtil.cpp
patch
|
blob
|
history
diff --git
a/src/server/ServerUtil.cpp
b/src/server/ServerUtil.cpp
index
74c922e
..
1dcc93c
100644
(file)
--- a/
src/server/ServerUtil.cpp
+++ b/
src/server/ServerUtil.cpp
@@
-63,8
+63,8
@@
EXPORT_API std::string util::get_user_path(uid_t uid, enum tzplatform_variable i
ScopeMutex sm(&__pathMutex);
tzplatform_context* context = NULL;
- tzplatform_context_create(&context);
- IF_FAIL_RETURN_TAG(
context
, EMPTY_STR, _E, "tzplatform_context_create() failed");
+
int ret =
tzplatform_context_create(&context);
+ IF_FAIL_RETURN_TAG(
ret == 0
, EMPTY_STR, _E, "tzplatform_context_create() failed");
if (tzplatform_context_set_user(context, uid) != E_NONE) {
_E("tzplatform_context_set_user() failed");