fix typing error of test program 44/84344/1
authoryoungman <yman.jung@samsung.com>
Thu, 18 Aug 2016 06:47:39 +0000 (15:47 +0900)
committeryoungman <yman.jung@samsung.com>
Thu, 18 Aug 2016 06:47:39 +0000 (15:47 +0900)
Change-Id: I931af5d19dfa25acf13cc3f93f10b9f8ca12ab2a
Signed-off-by: youngman <yman.jung@samsung.com>
test/iotcon-test-basic-client.c
test/iotcon-test-iface-server.c

index d9c4b59..35519e7 100644 (file)
@@ -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;
index 70c9972..e0333f8 100644 (file)
@@ -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);