projects
/
platform
/
core
/
iot
/
iotcon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename API (iotcon_state_set_xxx -> iotcon_state_add_xxx)
[platform/core/iot/iotcon.git]
/
doc
/
iotcon_doc.h
diff --git
a/doc/iotcon_doc.h
b/doc/iotcon_doc.h
index
984a993
..
53795e2
100644
(file)
--- a/
doc/iotcon_doc.h
+++ b/
doc/iotcon_doc.h
@@
-90,7
+90,7
@@
static void _request_handler(iotcon_resource_h resource, iotcon_request_h reques
return;
}
return;
}
- ret = iotcon_state_
set
_bool(resp_repr, "opened", true);
+ ret = iotcon_state_
add
_bool(resp_repr, "opened", true);
if (IOTCON_ERROR_NONE != ret) {
iotcon_state_destroy(state);
iotcon_representation_destroy(resp_repr);
if (IOTCON_ERROR_NONE != ret) {
iotcon_state_destroy(state);
iotcon_representation_destroy(resp_repr);