@@ -83,7 +83,7 @@ void SendingClient::setMessageOptions(const OptionsSetter &setter,
8383 *
8484#ifdef REACTOR_PROPERTY_MAP_USES_STL
8585 message::property_map &properties = msg.properties();
86-
86+
8787 setter.setMap("msg-property", properties);
8888#endif // REACTOR_PROPERTY_MAP_USES_STL
8989 */
@@ -129,7 +129,7 @@ void SendingClient::setMessageProperty(message *msg, const string &property) con
129129 if (nameVal (property, name, val, separator)) {
130130 if (separator == " ~" ) {
131131 temp.resize (val.size ());
132-
132+
133133 std::transform (val.begin (), val.end (), temp.begin (), ::tolower);
134134
135135 if (temp == " true" ) {
@@ -171,7 +171,7 @@ void SendingClient::setMessageListItem(message *msg, const string &property, std
171171 if (nameVal (property, name, val, separator)) {
172172 if (separator == " ~" ) {
173173 temp.resize (val.size ());
174-
174+
175175 std::transform (val.begin (), val.end (), temp.begin (), ::tolower);
176176
177177 if (temp == " true" ) {
@@ -216,7 +216,7 @@ void SendingClient::setMessageMapItem(message *msg, const string &property, std:
216216 if (nameVal (property, name, val, separator)) {
217217 if (separator == " ~" ) {
218218 temp.resize (val.size ());
219-
219+
220220 std::transform (val.begin (), val.end (), temp.begin (), ::tolower);
221221
222222 if (temp == " true" ) {
@@ -348,14 +348,14 @@ int SendingClient::run(int argc, char **argv) const
348348 } else {
349349 user = uri_parser.getUser ();
350350 }
351-
351+
352352 string password = " " ;
353353 if (options.is_set (" password" )) {
354354 password = options[" password" ];
355355 } else {
356356 password = uri_parser.getPassword ();
357357 }
358-
358+
359359 string sasl_mechanisms = " " ;
360360 if (options.is_set (" sasl-mechanisms" )) {
361361 sasl_mechanisms = options[" sasl-mechanisms" ];
@@ -364,7 +364,7 @@ int SendingClient::run(int argc, char **argv) const
364364 } else {
365365 sasl_mechanisms = " ANONYMOUS" ;
366366 }
367-
367+
368368 string conn_sasl_enabled = " true" ;
369369 if (options.is_set (" conn-sasl-enabled" )) {
370370 conn_sasl_enabled = options[" conn-sasl-enabled" ];
@@ -505,17 +505,17 @@ int SendingClient::run(int argc, char **argv) const
505505 setMessageText (options[" msg-content" ], &msg);
506506 }
507507
508-
508+
509509/*
510- * Note 1: this is a left-over from setMessageOptions. Since I don't want to
511- * change the method signature there, I check again here and set the remaining
510+ * Note 1: this is a left-over from setMessageOptions. Since I don't want to
511+ * change the method signature there, I check again here and set the remaining
512512 * option that cannot be done implicitly above.
513- *
514- * Note 2: this is a hack for GCC ~4.4.7 on i686.
515- */
513+ *
514+ * Note 2: this is a hack for GCC ~4.4.7 on i686.
515+ */
516516#ifndef ENABLE_IMPLICIT_CONVERSIONS
517517 long value = options.get (" msg-ttl" );
518-
518+
519519 msg.ttl (::proton::duration (value));
520520#endif
521521 if (options.is_set (" msg-group-seq" )) {
@@ -556,13 +556,13 @@ int SendingClient::run(int argc, char **argv) const
556556 );
557557
558558 handler.setMessage (msg);
559-
559+
560560 int count = 1 ;
561561 if (options.is_set (" count" )) {
562562 count = static_cast <int > (options.get (" count" ));
563563 }
564564 handler.setCount (count);
565-
565+
566566 try {
567567 container (handler).run ();
568568
0 commit comments