summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryoungman <yman.jung@samsung.com>2016-08-18 15:47:39 +0900
committeryoungman <yman.jung@samsung.com>2016-08-18 15:47:39 +0900
commit38500da75597c058afd31b8080b062a0059bd35b (patch)
treeeef998ec1a378921e728a97219bb29c1b8e8ca82
parentc17e61a9ce1e55c4379ab6e67a8365a3aefea699 (diff)
downloadiotcon-38500da75597c058afd31b8080b062a0059bd35b.tar.gz
iotcon-38500da75597c058afd31b8080b062a0059bd35b.tar.bz2
iotcon-38500da75597c058afd31b8080b062a0059bd35b.zip
fix typing error of test program
Change-Id: I931af5d19dfa25acf13cc3f93f10b9f8ca12ab2a Signed-off-by: youngman <yman.jung@samsung.com>
-rw-r--r--test/iotcon-test-basic-client.c2
-rw-r--r--test/iotcon-test-iface-server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/iotcon-test-basic-client.c b/test/iotcon-test-basic-client.c
index d9c4b59..35519e7 100644
--- a/test/iotcon-test-basic-client.c
+++ b/test/iotcon-test-basic-client.c
@@ -30,7 +30,7 @@ static void _on_response(iotcon_remote_resource_h resource, iotcon_error_e err,
iotcon_request_type_e request_type, iotcon_response_h response, void *user_data);
static void _on_observe(iotcon_remote_resource_h resource, iotcon_error_e err,
- int sequece_number, iotcon_response_h response, void *user_data)
+ int sequence_number, iotcon_response_h response, void *user_data)
{
int ret;
bool opened;
diff --git a/test/iotcon-test-iface-server.c b/test/iotcon-test-iface-server.c
index 70c9972..e0333f8 100644
--- a/test/iotcon-test-iface-server.c
+++ b/test/iotcon-test-iface-server.c
@@ -411,7 +411,7 @@ static iotcon_representation_h _get_fan_representation(fan_resource_s *fan)
return NULL;
}
- ret = iotcon_attributes_add_bool(attributes, "attributes", fan->state);
+ ret = iotcon_attributes_add_bool(attributes, "state", fan->state);
if (IOTCON_ERROR_NONE != ret) {
ERR("iotcon_attributes_add_bool() Fail(%d)", ret);
iotcon_attributes_destroy(attributes);