Fix typo 42/119942/1
authorJooseok Park <jooseok.park@samsung.com>
Tue, 21 Mar 2017 00:23:27 +0000 (09:23 +0900)
committerJooseok Park <jooseok.park@samsung.com>
Tue, 21 Mar 2017 00:23:27 +0000 (09:23 +0900)
Change-Id: I772dc1fae14bd8ce594f9f210217ad692b56ef86

src/ic-ioty-ocprocess.c
src/ic-ioty-parse.c
src/ic-ioty.c
src/ic-remote-resource.c

index 3b724b1..9bd3c93 100644 (file)
@@ -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);
index f3eadf1..aae649d 100644 (file)
@@ -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;
 
index 6e6288a..21c05e3 100644 (file)
@@ -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");
                        }
                }
        }
index cd5b14c..b9d6ead 100644 (file)
@@ -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;
        }