summaryrefslogtreecommitdiff
path: root/tools/publish.c
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2010-05-25 10:33:16 +0100
committerDavid Wragg <dpw@lshift.net>2010-05-25 10:33:16 +0100
commitb457754d24725da1cb8ed8c1fcf82114496161c6 (patch)
treec3f63f4a0b4640d0e21496c03a1e58ec5ae23ca3 /tools/publish.c
parent418c60dd1217822c5e399536ea1747607b957e30 (diff)
downloadrabbitmq-c-github-ask-b457754d24725da1cb8ed8c1fcf82114496161c6.tar.gz
Move the common_consume code into consume.c
95% of the options provided by the common_consume code don't actually make sense for amqp-get, and now I find myself documenting them, it seems more sensible to restrict them to amqp-consume.
Diffstat (limited to 'tools/publish.c')
-rw-r--r--tools/publish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/publish.c b/tools/publish.c
index a5b86b2..21314b2 100644
--- a/tools/publish.c
+++ b/tools/publish.c
@@ -111,7 +111,7 @@ int main(int argc, const char **argv)
memset(&props, 0, sizeof props);
props._flags = AMQP_BASIC_DELIVERY_MODE_FLAG;
- props.delivery_mode = 2; // persistent delivery mode
+ props.delivery_mode = 2; /* persistent delivery mode */
if (content_type) {
props._flags |= AMQP_BASIC_CONTENT_TYPE_FLAG;