projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c2d7c
)
powerdns plugin: Fix a bug when checking the configuration options.
author
Florian Forster
<octo@noris.net>
Mon, 5 May 2008 15:29:10 +0000
(17:29 +0200)
committer
Florian Forster
<octo@noris.net>
Mon, 5 May 2008 15:29:10 +0000
(17:29 +0200)
src/powerdns.c
patch
|
blob
|
history
diff --git
a/src/powerdns.c
b/src/powerdns.c
index
bf1b88e
..
dee2c70
100644
(file)
--- 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)