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
f6e972d5
Commit
f6e972d5
authored
Jul 01, 2013
by
Richard Newton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix montior tests to handle the monitor stopped event correctly
parent
d4d23caf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
test_monitor.cpp
tests/test_monitor.cpp
+5
-1
No files found.
tests/test_monitor.cpp
View file @
f6e972d5
...
...
@@ -58,7 +58,11 @@ static bool read_msg(void* s, zmq_event_t& event, std::string& ep)
memcpy
(
&
event
.
value
,
data
+
sizeof
(
event
.
event
),
sizeof
(
event
.
value
));
// copy address part
ep
=
std
::
string
((
char
*
)
zmq_msg_data
(
&
msg2
),
zmq_msg_size
(
&
msg2
));
return
false
;
if
(
event
.
event
==
ZMQ_EVENT_MONITOR_STOPPED
)
return
true
;
return
false
;
}
...
...
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