Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
cefce68a
Commit
cefce68a
authored
Nov 24, 2014
by
Constantin Rack
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1262 from hurtonm/master
Fix issue #1257
parents
1680a3ce
905b1683
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
socket_base.cpp
src/socket_base.cpp
+3
-3
No files found.
src/socket_base.cpp
View file @
cefce68a
...
@@ -506,9 +506,6 @@ int zmq::socket_base_t::connect (const char *addr_)
...
@@ -506,9 +506,6 @@ int zmq::socket_base_t::connect (const char *addr_)
int
rc
=
pipepair
(
parents
,
new_pipes
,
hwms
,
conflates
);
int
rc
=
pipepair
(
parents
,
new_pipes
,
hwms
,
conflates
);
errno_assert
(
rc
==
0
);
errno_assert
(
rc
==
0
);
// Attach local end of the pipe to this socket object.
attach_pipe
(
new_pipes
[
0
]);
if
(
!
peer
.
socket
)
{
if
(
!
peer
.
socket
)
{
// The peer doesn't exist yet so we don't know whether
// The peer doesn't exist yet so we don't know whether
// to send the identity message or not. To resolve this,
// to send the identity message or not. To resolve this,
...
@@ -557,6 +554,9 @@ int zmq::socket_base_t::connect (const char *addr_)
...
@@ -557,6 +554,9 @@ int zmq::socket_base_t::connect (const char *addr_)
send_bind
(
peer
.
socket
,
new_pipes
[
1
],
false
);
send_bind
(
peer
.
socket
,
new_pipes
[
1
],
false
);
}
}
// Attach local end of the pipe to this socket object.
attach_pipe
(
new_pipes
[
0
]);
// Save last endpoint URI
// Save last endpoint URI
last_endpoint
.
assign
(
addr_
);
last_endpoint
.
assign
(
addr_
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment