config: update comments
This commit is contained in:
parent
9a02c90e3e
commit
879ece1516
4
common.c
4
common.c
@ -1566,7 +1566,7 @@ config_item_clone (struct config_item_ *self)
|
|||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
// XXX: this thing is ugly in concept
|
// TODO: maybe also make it possible to assign the "user_data" pointer
|
||||||
|
|
||||||
static void
|
static void
|
||||||
config_schema_fix_value
|
config_schema_fix_value
|
||||||
@ -1578,6 +1578,8 @@ config_schema_fix_value
|
|||||||
bool replace = true;
|
bool replace = true;
|
||||||
if (item)
|
if (item)
|
||||||
{
|
{
|
||||||
|
// FIXME: either do this silently or tell about it via a callback
|
||||||
|
// or just store it in an output vector; don't print it directly
|
||||||
struct error *e = NULL;
|
struct error *e = NULL;
|
||||||
replace = !config_item_validate_by_schema (item, schema, &e);
|
replace = !config_item_validate_by_schema (item, schema, &e);
|
||||||
if (e)
|
if (e)
|
||||||
|
Loading…
Reference in New Issue
Block a user