From e228afe28febdfd2af076f330e8766e82bc7e89a Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 5 May 2008 17:29:10 +0200 Subject: [PATCH] powerdns plugin: Fix a bug when checking the configuration options. --- src/powerdns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powerdns.c b/src/powerdns.c index bf1b88e6..dee2c70f 100644 --- a/src/powerdns.c +++ b/src/powerdns.c @@ -909,7 +909,7 @@ static int powerdns_config (oconfig_item_t *ci) /* {{{ */ if ((strcasecmp ("Server", option->key) == 0) || (strcasecmp ("Recursor", option->key) == 0)) powerdns_config_add_server (option); - if (strcasecmp ("LocalSocket", option->key) == 0) + else if (strcasecmp ("LocalSocket", option->key) == 0) { char *temp = strdup (option->key); if (temp == NULL) -- 2.30.2