Commit ac40680e authored by Martin Sustrik's avatar Martin Sustrik

Problem with blob_t initialisation fixed.

HP's version of STL doesn't allow for initialisation of basic_string
(blob_t) using NULL pointer, while SGI's implementation is OK with
that. Fixed.
Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent edf7c18d
......@@ -81,8 +81,9 @@ void zmq::object_t::process_command (command_t &cmd_)
case command_t::attach:
process_attach (cmd_.args.attach.engine,
cmd_.args.attach.peer_identity ?
blob_t (cmd_.args.attach.peer_identity,
cmd_.args.attach.peer_identity_size));
cmd_.args.attach.peer_identity_size) : blob_t ());
process_seqnum ();
break;
......
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