while (g_hash_table_iter_next(&iter, &key, &value)) {
attributes_value = (struct icl_value_s *)value;
if (NULL == attributes_value) {
- ERR("attributes_value(%s) is NULL", key);
+ ERR("attributes_value(%s) is NULL", (char *)key);
continue;
}
g_hash_table_iter_init(&iter, query->hash);
while (g_hash_table_iter_next(&iter, &key, &value)) {
int query_len;
- DBG("query exist. key(%s), value(%s)", key, value);
+ DBG("query exist. key(%s), value(%s)", (char *)key, (char *)value);
if (true == loop_first) {
query_len = snprintf(uri_buf + len, sizeof(uri_buf) - len, "?%s=%s",
if (src->interfaces) {
ret = icl_resource_interfaces_clone(src->interfaces, &ifaces);
if (IOTCON_ERROR_NONE != ret) {
- ERR("icl_resource_interfaces_clone() Fail(%d)");
+ ERR("icl_resource_interfaces_clone() Fail(%d)", ret);
icl_representation_destroy(cloned_repr);
return ret;
}
if (src->res_types) {
ret = icl_resource_types_clone(src->res_types, &types);
if (IOTCON_ERROR_NONE != ret) {
- ERR("icl_resource_types_clone() Fail");
+ ERR("icl_resource_types_clone() Fail(%d)", ret);
icl_representation_destroy(cloned_repr);
return ret;
}