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
5a6503e5
Commit
5a6503e5
authored
Nov 15, 2011
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug in XREP and XREQ fixed (issue 280)
Signed-off-by:
Martin Sustrik
<
sustrik@250bpm.com
>
parent
83975c1b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
xrep.cpp
src/xrep.cpp
+1
-1
xreq.cpp
src/xreq.cpp
+1
-1
No files found.
src/xrep.cpp
View file @
5a6503e5
...
...
@@ -264,7 +264,7 @@ bool zmq::xrep_t::xhas_in ()
return
true
;
// Try to read the next message to the pre-fetch buffer.
int
rc
=
xrecv
(
&
prefetched_msg
,
ZMQ_DONTWAIT
);
int
rc
=
xre
p_t
::
xre
cv
(
&
prefetched_msg
,
ZMQ_DONTWAIT
);
if
(
rc
!=
0
&&
errno
==
EAGAIN
)
return
false
;
zmq_assert
(
rc
==
0
);
...
...
src/xreq.cpp
View file @
5a6503e5
...
...
@@ -86,7 +86,7 @@ bool zmq::xreq_t::xhas_in ()
return
true
;
// Try to read the next message to the pre-fetch buffer.
int
rc
=
xrecv
(
&
prefetched_msg
,
ZMQ_DONTWAIT
);
int
rc
=
xre
q_t
::
xre
cv
(
&
prefetched_msg
,
ZMQ_DONTWAIT
);
if
(
rc
!=
0
&&
errno
==
EAGAIN
)
return
false
;
zmq_assert
(
rc
==
0
);
...
...
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