From e62c37240a71c45128337779c27f1a7a7c0cc839 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 1 Nov 2007 01:39:44 +0100 Subject: [PATCH] src/configfile.c: Handle the `' block correctly. I. e. pass it to `ut_config'. --- src/configfile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/configfile.c b/src/configfile.c index 0310ca8a..4702e7ab 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -27,6 +27,7 @@ #include "common.h" #include "plugin.h" #include "configfile.h" +#include "utils_threshold.h" #define ESCAPE_NULL(str) ((str) == NULL ? "(null)" : (str)) @@ -298,6 +299,8 @@ static int dispatch_block (oconfig_item_t *ci) { if (strcasecmp (ci->key, "Plugin") == 0) return (dispatch_block_plugin (ci)); + else if (strcasecmp (ci->key, "Threshold") == 0) + return (ut_config (ci)); return (0); } -- 2.30.2