From 36dbeb99ae5eb76fb9922e8f382e7a168b7d0c72 Mon Sep 17 00:00:00 2001 From: Jooseok Park Date: Tue, 21 Mar 2017 09:23:27 +0900 Subject: [PATCH] Fix typo Change-Id: I772dc1fae14bd8ce594f9f210217ad692b56ef86 --- src/ic-ioty-ocprocess.c | 2 ++ src/ic-ioty-parse.c | 2 +- src/ic-ioty.c | 8 ++++---- src/ic-remote-resource.c | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ic-ioty-ocprocess.c b/src/ic-ioty-ocprocess.c index 3b724b1..9bd3c93 100644 --- a/src/ic-ioty-ocprocess.c +++ b/src/ic-ioty-ocprocess.c @@ -230,6 +230,7 @@ static gboolean _icl_ioty_ocprocess_device_info_idle_cb(gpointer p) OCCancel(cb_data->handle, OC_LOW_QOS, NULL, 0); icl_ioty_mutex_unlock(); } + INFO("Call the callback done"); } icl_destroy_device_cb_data(device_cb_data); @@ -309,6 +310,7 @@ static gboolean _icl_ioty_ocprocess_platform_info_idle_cb(gpointer p) OCCancel(cb_data->handle, OC_LOW_QOS, NULL, 0); icl_ioty_mutex_unlock(); } + INFO("Call the callback done"); } icl_destroy_platform_cb_data(platform_cb_data); diff --git a/src/ic-ioty-parse.c b/src/ic-ioty-parse.c index f3eadf1..aae649d 100644 --- a/src/ic-ioty-parse.c +++ b/src/ic-ioty-parse.c @@ -983,7 +983,7 @@ int ic_ioty_parse_oic_header_option(OCHeaderOption *option, int option_size, } for (i = 0; i < option_size; i++) - iotcon_options_add(op, option[i].optionID, (char *)option[i].optionData); + icl_options_add(op, option[i].optionID, (char *)option[i].optionData); *options = op; diff --git a/src/ic-ioty.c b/src/ic-ioty.c index 6e6288a..21c05e3 100644 --- a/src/ic-ioty.c +++ b/src/ic-ioty.c @@ -1371,10 +1371,10 @@ static void _icl_ioty_encap_get_cb(iotcon_remote_resource_h resource, } if (state != resource->monitoring.state) { - DBG("call the callback..."); + DBG("call the monitoring callback..."); resource->monitoring.cb(resource, state, resource->monitoring.user_data); resource->monitoring.state = state; - DBG("call the callback done"); + DBG("call the monitoring callback done"); } } @@ -1398,9 +1398,9 @@ static void _icl_ioty_encap_get_cb(iotcon_remote_resource_h resource, response->repr = NULL; if (resource->caching.cb) { - DBG("call the callback..."); + DBG("call the caching callback..."); resource->caching.cb(resource, repr, resource->caching.user_data); - DBG("call the callback done"); + DBG("call the caching callback done"); } } } diff --git a/src/ic-remote-resource.c b/src/ic-remote-resource.c index cd5b14c..b9d6ead 100644 --- a/src/ic-remote-resource.c +++ b/src/ic-remote-resource.c @@ -182,7 +182,7 @@ static bool _icl_remote_resource_header_foreach_cb(unsigned short id, ret = icl_options_add(resource->header_options, id, data); if (IOTCON_ERROR_NONE != ret) { - ERR("iotcon_options_add() Fail(%d)", ret); + ERR("icl_options_add() Fail(%d)", ret); return IOTCON_FUNC_STOP; } -- 2.7.4