mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Small code cleanup
This commit is contained in:
parent
bea0b4817b
commit
92827e45ee
@ -532,9 +532,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|
|||||||
|
|
||||||
// PGM does not support subscription forwarding; ask for all data to be
|
// PGM does not support subscription forwarding; ask for all data to be
|
||||||
// sent to this pipe.
|
// sent to this pipe.
|
||||||
bool icanhasall = false;
|
bool icanhasall = protocol == "pgm" || protocol == "epgm";
|
||||||
if (protocol == "pgm" || protocol == "epgm")
|
|
||||||
icanhasall = true;
|
|
||||||
|
|
||||||
if (options.delay_attach_on_connect != 1 || icanhasall) {
|
if (options.delay_attach_on_connect != 1 || icanhasall) {
|
||||||
// Create a bi-directional pipe.
|
// Create a bi-directional pipe.
|
||||||
|
Loading…
Reference in New Issue
Block a user