summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7554d50)
raw | patch | inline | side by side (parent: 7554d50)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 24 Jun 2014 14:38:28 +0000 (16:38 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 24 Jun 2014 14:39:52 +0000 (16:39 +0200) |
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index 3f33ff78386e593d6d48559628f7503d9dbfeb1b..a1fb794c5b30e4129746d39d78e993dc45ab3bef 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
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);
- else if (strcasecmp ("QueueDurable", child->key) == 0)
+ else if ((strcasecmp ("QueueDurable", child->key) == 0) && !publish)
status = cf_util_get_boolean (child, &conf->queue_durable);
- else if (strcasecmp ("QueueAutoDelete", child->key) == 0)
+ else if ((strcasecmp ("QueueAutoDelete", child->key) == 0) && !publish)
status = cf_util_get_boolean (child, &conf->queue_auto_delete);
else if (strcasecmp ("RoutingKey", child->key) == 0)
status = cf_util_get_string (child, &conf->routing_key);