summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-03-01 16:08:40 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-03-01 16:08:40 +0100
commit4c7446211a02937f3e2522aece163d417b4ad0b9 (patch)
tree15c37390a4068cdc6d31f22858b3d6843422affe /src
parent67b1f14190186f54fc5954a70f7214411d780aea (diff)
Explicit identities bug in inproc transport fixed.
The identity of bound socket was not used. Instead, transient identity was generated. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-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