projects
/
platform
/
core
/
iot
/
iotcon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca1309
)
Fix iotcon_bind_resource()
author
youngman
<yman.jung@samsung.com>
Wed, 15 Jul 2015 08:28:41 +0000
(17:28 +0900)
committer
youngman
<yman.jung@samsung.com>
Tue, 3 Nov 2015 11:08:19 +0000
(20:08 +0900)
Change-Id: I2cd0de02a4b93d8f531eb7a6b3cc7388bff57d57
Signed-off-by: youngman <yman.jung@samsung.com>
lib/icl.c
patch
|
blob
|
history
diff --git
a/lib/icl.c
b/lib/icl.c
index
f9d1bcf
..
bc82d6b
100644
(file)
--- a/
lib/icl.c
+++ b/
lib/icl.c
@@
-231,6
+231,9
@@
API int iotcon_bind_resource(iotcon_resource_h parent, iotcon_resource_h child)
ERR("Child resource was already bound to parent resource.");
return IOTCON_ERROR_ALREADY;
}
+ }
+
+ for (i = 0; i < IOTCON_CONTAINED_RESOURCES_MAX; i++) {
if (NULL == parent->children[i]) {
ret = icl_dbus_bind_resource(parent->handle, child->handle);
if (IOTCON_ERROR_NONE == ret)