summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-10-08 17:59:11 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:36 +0200
commit05d28f46d0ff183615b6af29735d6bfc4df909aa (patch)
tree18beeb1c112936fefc4ff9bbb656e628f7ff2764
parent8483b9b0404ee3308ed0006872669b8068db1e1f (diff)
Enable again key check
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
-rw-r--r--src/plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c
index db328f1..8f7d788 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -153,7 +153,6 @@ stack_resolve_keys(const struct ulogd_pluginstance_stack *stack)
if (ikey->flags & ULOGD_KEYF_INACTIVE)
continue;
-#if 0
if (ikey->u.source) {
ulogd_log(ULOGD_ERROR, "input key `%s' "
"already has source\n",
@@ -161,7 +160,6 @@ stack_resolve_keys(const struct ulogd_pluginstance_stack *stack)
return -EINVAL;
}
-#endif /* 0 */
okey = find_okey_in_stack(ikey->name, pi_cur, &pi_src);
if (okey == NULL) {