enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component || !destroy) {
- ret = BT_COMPONENT_STATUS_INVAL;
+ ret = BT_COMPONENT_STATUS_INVALID;
goto end;
}
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component || !name || name[0] == '\0') {
- ret = BT_COMPONENT_STATUS_INVAL;
+ ret = BT_COMPONENT_STATUS_INVALID;
goto end;
}
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component) {
- ret = BT_COMPONENT_STATUS_INVAL;
+ ret = BT_COMPONENT_STATUS_INVALID;
goto end;
}