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
a7ccb35c
Commit
a7ccb35c
authored
Jul 31, 2016
by
Luca Boccassi
Committed by
GitHub
Jul 31, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2072 from reza-ebrahimi/master
Fixing indentations related to commit #2071
parents
e5599de6
a2db60e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ctx.cpp
src/ctx.cpp
+2
-3
No files found.
src/ctx.cpp
View file @
a7ccb35c
...
...
@@ -524,7 +524,6 @@ void zmq::ctx_t::connect_pending (const char *addr_, zmq::socket_base_t *bind_so
scoped_lock_t
locker
(
endpoints_sync
);
std
::
pair
<
pending_connections_t
::
iterator
,
pending_connections_t
::
iterator
>
pending
=
pending_connections
.
equal_range
(
addr_
);
for
(
pending_connections_t
::
iterator
p
=
pending
.
first
;
p
!=
pending
.
second
;
++
p
)
connect_inproc_sockets
(
bind_socket_
,
endpoints
[
addr_
].
options
,
p
->
second
,
bind_side
);
...
...
@@ -576,11 +575,11 @@ void zmq::ctx_t::connect_inproc_sockets (zmq::socket_base_t *bind_socket_,
if
(
pending_connection_
.
endpoint
.
options
.
recv_identity
)
{
msg_t
id
;
int
rc
=
id
.
init_size
(
bind_options
.
identity_size
);
const
int
rc
=
id
.
init_size
(
bind_options
.
identity_size
);
errno_assert
(
rc
==
0
);
memcpy
(
id
.
data
(),
bind_options
.
identity
,
bind_options
.
identity_size
);
id
.
set_flags
(
msg_t
::
identity
);
bool
written
=
pending_connection_
.
bind_pipe
->
write
(
&
id
);
const
bool
written
=
pending_connection_
.
bind_pipe
->
write
(
&
id
);
zmq_assert
(
written
);
pending_connection_
.
bind_pipe
->
flush
();
}
...
...
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