aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-08 23:26:42 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-08 23:26:42 +0200
commit879ece1516de1ae335d3843c4f54dc653c4b3944 (patch)
tree027347ecb1b2b4a9d1ad9a6f88b54e9d9f203d92
parent9a02c90e3e7d9ebe8344b296444c1c6d1c46bf59 (diff)
downloadxK-879ece1516de1ae335d3843c4f54dc653c4b3944.tar.gz
xK-879ece1516de1ae335d3843c4f54dc653c4b3944.tar.xz
xK-879ece1516de1ae335d3843c4f54dc653c4b3944.zip
config: update comments
-rw-r--r--common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.c b/common.c
index 3f5cec9..6006cde 100644
--- a/common.c
+++ b/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
config_schema_fix_value
@@ -1578,6 +1578,8 @@ config_schema_fix_value
bool replace = true;
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;
replace = !config_item_validate_by_schema (item, schema, &e);
if (e)