summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a2be90)
raw | patch | inline | side by side (parent: 8a2be90)
author | Florian Forster <octo@collectd.org> | |
Wed, 17 May 2017 06:01:29 +0000 (08:01 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 17 May 2017 06:01:29 +0000 (08:01 +0200) |
Fixes: #2286
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index a9d91a7d14588c777a62d3558883372a5ea6f933..9578e61a5bd58c6c5365dea767be421b73cf6115 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
status = cf_util_get_string(child, &conf->password);
else if (strcasecmp("Exchange", child->key) == 0)
status = cf_util_get_string(child, &conf->exchange);
- else if ((strcasecmp("ExchangeType", child->key) == 0) && !publish)
+ else if (strcasecmp("ExchangeType", child->key) == 0)
status = cf_util_get_string(child, &conf->exchange_type);
else if ((strcasecmp("Queue", child->key) == 0) && !publish)
status = cf_util_get_string(child, &conf->queue);