summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8608851)
raw | patch | inline | side by side (parent: 8608851)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 4 Aug 2010 15:59:31 +0000 (17:59 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 4 Aug 2010 15:59:31 +0000 (17:59 +0200) |
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index 1767b85f8f8e3660482a7988a1015c894e0a5b0b..55066351ab0b1332c2cef698438d463f81dd4f8d 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
bfree = sizeof(buffer);
bfill = 0;
format_json_initialize(buffer, &bfill, &bfree);
- format_json_value_list(buffer, &bfill, &bfree, ds, vl);
+ /* TODO: Possibly add a config option "StoreRates" and pass the value along here. */
+ format_json_value_list(buffer, &bfill, &bfree, ds, vl,
+ /* rates = */ 0);
format_json_finalize(buffer, &bfill, &bfree);
props._flags = AMQP_BASIC_CONTENT_TYPE_FLAG | AMQP_BASIC_DELIVERY_MODE_FLAG;
props.content_type = amqp_cstring_bytes("application/json");