diff options
-rw-r--r-- | src/socket_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 56c3b1a..c933954 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -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); } } |