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
19f77a1c
Commit
19f77a1c
authored
Oct 28, 2012
by
Ian Barber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #449 from hintjens/master
Fixed code formatting
parents
6b452620
0bf8a4d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
xsub.cpp
src/xsub.cpp
+2
-4
No files found.
src/xsub.cpp
View file @
19f77a1c
...
@@ -99,10 +99,8 @@ int zmq::xsub_t::xsend (msg_t *msg_, int flags_)
...
@@ -99,10 +99,8 @@ int zmq::xsub_t::xsend (msg_t *msg_, int flags_)
// however this is alread done on the XPUB side and
// however this is alread done on the XPUB side and
// doing it here as well breaks ZMQ_XPUB_VERBOSE
// doing it here as well breaks ZMQ_XPUB_VERBOSE
// when there are forwarding devices involved
// when there are forwarding devices involved
//
subscriptions
.
add
(
data
+
1
,
size
-
1
);
//if (subscriptions.add (data + 1, size - 1))
return
dist
.
send_to_all
(
msg_
,
flags_
);
subscriptions
.
add
(
data
+
1
,
size
-
1
);
return
dist
.
send_to_all
(
msg_
,
flags_
);
}
}
else
{
else
{
if
(
subscriptions
.
rm
(
data
+
1
,
size
-
1
))
if
(
subscriptions
.
rm
(
data
+
1
,
size
-
1
))
...
...
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