projects
/
test
/
tct
/
native
/
api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9cd803
)
[UTC][IoTCon][Non-ACR][Fix utc_iotcon_deinitialize_p]
author
sung.goo.kim
<sung.goo.kim@samsung.com>
Tue, 28 Jun 2016 09:39:51 +0000
(18:39 +0900)
committer
sung.goo.kim
<sung.goo.kim@samsung.com>
Tue, 28 Jun 2016 09:42:06 +0000
(18:42 +0900)
Change-Id: I071fda7042563dca080e3c70dcdce5d709f8601a
src/utc/iotcon/utc-iotcon-service.c
patch
|
blob
|
history
diff --git
a/src/utc/iotcon/utc-iotcon-service.c
b/src/utc/iotcon/utc-iotcon-service.c
index
0411000
..
3116e5a
100755
(executable)
--- a/
src/utc/iotcon/utc-iotcon-service.c
+++ b/
src/utc/iotcon/utc-iotcon-service.c
@@
-87,13
+87,18
@@
int utc_iotcon_initialize_p(void)
int utc_iotcon_deinitialize_p(void)
{
int ret;
+ char *path;
if (false == g_feature) {
iotcon_deinitialize();
return 0;
}
- ret = iotcon_initialize(NULL);
+ ret = icutc_get_svr_db_path(&path);
+ ICUTC_ASSERT_EQ(ret, 0);
+
+ ret = iotcon_initialize(path);
+ free(path);
ICUTC_ASSERT_EQ(ret, IOTCON_ERROR_NONE);
iotcon_deinitialize();