summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9343b74)
raw | patch | inline | side by side (parent: 9343b74)
author | Pascal Hofmann <mail@pascalhofmann.de> | |
Thu, 14 Jun 2012 19:54:47 +0000 (21:54 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 27 Jun 2012 19:18:44 +0000 (21:18 +0200) |
src/memcachec.c | patch | blob | history |
diff --git a/src/memcachec.c b/src/memcachec.c
index d066501cdcba73afb56363dae167b9dd78353e10..73faa506fb5387572ff91e4a030c6fe9e0351b3d 100644 (file)
--- a/src/memcachec.c
+++ b/src/memcachec.c
if (strcasecmp ("Server", child->key) == 0)
status = cmc_config_add_string ("Server", &page->server, child);
- if (strcasecmp ("Key", child->key) == 0)
+ else if (strcasecmp ("Key", child->key) == 0)
status = cmc_config_add_string ("Key", &page->key, child);
else if (strcasecmp ("Match", child->key) == 0)
/* Be liberal with failing matches => don't set `status'. */