mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 05:29:43 +01:00
SunStudio fixed.
With SunStudio's implementation of STL basic_string constructor doesn't accept NULL as a parameter even though size of string is set to zero. Fixed. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -85,8 +85,8 @@ void zmq::object_t::process_command (command_t &cmd_)
|
|||||||
|
|
||||||
case command_t::bind:
|
case command_t::bind:
|
||||||
process_bind (cmd_.args.bind.in_pipe, cmd_.args.bind.out_pipe,
|
process_bind (cmd_.args.bind.in_pipe, cmd_.args.bind.out_pipe,
|
||||||
blob_t (cmd_.args.bind.peer_identity,
|
cmd_.args.bind.peer_identity ? blob_t (cmd_.args.bind.peer_identity,
|
||||||
cmd_.args.bind.peer_identity_size));
|
cmd_.args.bind.peer_identity_size) : blob_t ());
|
||||||
process_seqnum ();
|
process_seqnum ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user