summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socket_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 6e07473..0b560f8 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -399,7 +399,7 @@ int zmq::socket_base_t::connect (const char *addr_)
&outpipe_reader, &outpipe_writer);
// Attach the pipes to this socket object.
- attach_pipes (inpipe_reader, outpipe_writer, blob_t ());
+ attach_pipes (inpipe_reader, outpipe_writer, peer.options.identity);
// Attach the pipes to the peer socket. Note that peer's seqnum
// was incremented in find_endpoint function. We don't need it