Commit 124ebd2d authored by hitstergtd's avatar hitstergtd

Problem: UDP engine code not indented properly

Solution:
Indent it.
parent d6aa6e71
...@@ -571,31 +571,31 @@ void zmq::session_base_t::start_connecting (bool wait_) ...@@ -571,31 +571,31 @@ void zmq::session_base_t::start_connecting (bool wait_)
} }
#endif #endif
if (addr->protocol == "udp") { if (addr->protocol == "udp") {
zmq_assert (options.type == ZMQ_DISH || options.type == ZMQ_RADIO); zmq_assert (options.type == ZMQ_DISH || options.type == ZMQ_RADIO);
udp_engine_t* engine = new (std::nothrow) udp_engine_t (); udp_engine_t* engine = new (std::nothrow) udp_engine_t ();
alloc_assert (engine); alloc_assert (engine);
bool recv = false; bool recv = false;
bool send = false; bool send = false;
if (options.type == ZMQ_RADIO) { if (options.type == ZMQ_RADIO) {
send = true; send = true;
recv = false; recv = false;
} }
else if (options.type == ZMQ_DISH) { else if (options.type == ZMQ_DISH) {
send = false; send = false;
recv = true; recv = true;
} }
int rc = engine->init (addr, send, recv); int rc = engine->init (addr, send, recv);
errno_assert (rc == 0); errno_assert (rc == 0);
send_attach (this, engine); send_attach (this, engine);
return; return;
} }
#ifdef ZMQ_HAVE_OPENPGM #ifdef ZMQ_HAVE_OPENPGM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment