removed norm_engine dependency on deprecated encoder_base::has_data() method

This commit is contained in:
bebopagogo 2014-03-19 15:02:06 -04:00
parent 0a97e05439
commit cd9755e4aa

View File

@ -33,6 +33,7 @@ int zmq::norm_engine_t::init(const char* network_, bool send, bool recv)
// Parse the "network_" address int "iface", "addr", and "port" // Parse the "network_" address int "iface", "addr", and "port"
// norm endpoint format: [id,][<iface>;]<addr>:<port> // norm endpoint format: [id,][<iface>;]<addr>:<port>
// First, look for optional local NormNodeId // First, look for optional local NormNodeId
// (default NORM_NODE_ANY causes NORM to use host IP addr for NormNodeId)
NormNodeId localId = NORM_NODE_ANY; NormNodeId localId = NORM_NODE_ANY;
const char* ifacePtr = strchr(network_, ','); const char* ifacePtr = strchr(network_, ',');
if (NULL != ifacePtr) if (NULL != ifacePtr)