git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb28c5
)
ctdb-common: Log a message when an invalid conf value is encountered
author
Martin Schwenke
<martin@meltin.net>
Thu, 30 Aug 2018 23:34:12 +0000
(09:34 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Mon, 3 Sep 2018 08:52:11 +0000
(10:52 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/conf.c
patch
|
blob
|
history
diff --git
a/ctdb/common/conf.c
b/ctdb/common/conf.c
index cd1fa4acd2bc259353f1f3918cc574f31630a2db..f673c61fa8d4bfb3b86cfa72f197850eebdfe7ca 100644
(file)
--- a/
ctdb/common/conf.c
+++ b/
ctdb/common/conf.c
@@
-1135,6
+1135,10
@@
static bool conf_load_option(const char *name,
value.type = opt->type;
ret = conf_value_from_string(tmp_ctx, value_str, &value);
if (ret != 0) {
+ D_ERR("conf: invalid value [%s] -> \"%s\" = \"%s\"\n",
+ state->s->name,
+ name,
+ value_str);
talloc_free(tmp_ctx);
state->err = ret;
return false;