diff options
author | David Wragg <david@rabbitmq.com> | 2010-10-21 17:49:04 +0100 |
---|---|---|
committer | David Wragg <david@rabbitmq.com> | 2010-10-21 17:49:04 +0100 |
commit | 6b997da5f6d03f5dc2a8595b3c0a2cf9413b07b2 (patch) | |
tree | 88b7f8f360158d948f1844caa414aafa18af4f9d /examples/amqp_sendstring.c | |
parent | 5b41470ca661d528dbafadb5865eaaa2a4342c21 (diff) | |
download | rabbitmq-c-github-ask-6b997da5f6d03f5dc2a8595b3c0a2cf9413b07b2.tar.gz |
Eliminate // comments
They are not allowed in ISO C90.
Diffstat (limited to 'examples/amqp_sendstring.c')
-rw-r--r-- | examples/amqp_sendstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/amqp_sendstring.c b/examples/amqp_sendstring.c index ccd3866..9808251 100644 --- a/examples/amqp_sendstring.c +++ b/examples/amqp_sendstring.c @@ -94,7 +94,7 @@ int main(int argc, char const * const *argv) { amqp_basic_properties_t props; props._flags = AMQP_BASIC_CONTENT_TYPE_FLAG | AMQP_BASIC_DELIVERY_MODE_FLAG; props.content_type = amqp_cstring_bytes("text/plain"); - props.delivery_mode = 2; // persistent delivery mode + props.delivery_mode = 2; /* persistent delivery mode */ die_on_error(amqp_basic_publish(conn, 1, amqp_cstring_bytes(exchange), |