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
2b565088
Commit
2b565088
authored
Dec 15, 2016
by
Luca Boccassi
Committed by
GitHub
Dec 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2257 from minrk/check-event
zmq_poll: only compare FD when neither item is a zmq socket
parents
1910ef8d
0abdc28c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
zmq.cpp
src/zmq.cpp
+1
-1
No files found.
src/zmq.cpp
View file @
2b565088
...
...
@@ -834,7 +834,7 @@ inline int zmq_poller_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
for
(
int
j
=
j_start
;
j
<
found_events
;
++
j
)
{
if
(
(
items_
[
i
].
socket
&&
items_
[
i
].
socket
==
events
[
j
].
socket
)
||
(
!
items_
[
i
].
socket
&&
items_
[
i
].
fd
==
events
[
j
].
fd
)
(
!
(
items_
[
i
].
socket
||
events
[
j
].
socket
)
&&
items_
[
i
].
fd
==
events
[
j
].
fd
)
)
{
items_
[
i
].
revents
=
events
[
j
].
events
&
items_
[
i
].
events
;
if
(
!
repeat_items
)
{
...
...
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