Change-Id: Ibcbc4d9d497e32e9e9ee7700418cdb9fcdcd5021
iotcon_attributes_get_double(attributes, key, &value);
_D("key[%s] - double value [%lf]", key, value);
}
- break;
+ break;
case IOTCON_TYPE_STR: {
char *value = 0;
iotcon_attributes_get_str(attributes, key, &value);
_D("key[%s] - string value [%s]", key, value);
}
- break;
+ break;
case IOTCON_TYPE_NONE:
case IOTCON_TYPE_BYTE_STR:
case IOTCON_TYPE_NULL:
else
_E("fail to get url");
free(json_data);
- } else
+ } else {
_E("fail to get json_data");
+ }
return;
}