summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 111f69a)
raw | patch | inline | side by side (parent: 111f69a)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 6 Aug 2010 11:54:23 +0000 (13:54 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 6 Aug 2010 11:54:23 +0000 (13:54 +0200) |
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index 1924ce735416b8890b57c17f6c63f2ab456ef46c..c136c00de94848238343228573657be9621d7181 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
else
conf->delivery_mode = CAMQP_DM_VOLATILE;
}
- else if (strcasecmp ("StoreRates", child->key) == 0)
+ else if ((strcasecmp ("StoreRates", child->key) == 0) && publish)
status = cf_util_get_boolean (child, &conf->store_rates);
else
WARNING ("amqp plugin: Ignoring unknown "