X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Fiotcon_doc.h;h=53795e2f2c89de004a56ec864b4e3e389e28ec31;hb=3bc77ade3b662b337569b260f83217e236f0dac8;hp=984a9933040a4ca6e78c18cf37e8389f950df3d8;hpb=3d0052610e10bc923baca09fc9e89e8625f99c68;p=platform%2Fcore%2Fiot%2Fiotcon.git diff --git a/doc/iotcon_doc.h b/doc/iotcon_doc.h index 984a993..53795e2 100644 --- 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; } - 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);