Fix identity generation for transient inproc connections

This commit is contained in:
Martin Hurton 2010-07-10 22:57:47 +02:00
parent 1f61c87ac5
commit ca057c7db8

View File

@ -635,8 +635,8 @@ void zmq::socket_base_t::attach_pipes (class reader_t *inpipe_,
xattach_pipes (inpipe_, outpipe_, peer_identity_);
}
else {
blob_t identity (0, 1);
identity += uuid_t ().to_blob ();
blob_t identity (1, 0);
identity.append (uuid_t ().to_blob (), uuid_t::uuid_blob_len);
xattach_pipes (inpipe_, outpipe_, identity);
}
}