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
8daa74dc
Commit
8daa74dc
authored
Feb 18, 2015
by
Thomas Rodgers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment from prior commit
parent
fefe0d42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test_stream.cpp
tests/test_stream.cpp
+1
-1
No files found.
tests/test_stream.cpp
View file @
8daa74dc
...
@@ -94,10 +94,10 @@ test_stream_to_dealer (void)
...
@@ -94,10 +94,10 @@ test_stream_to_dealer (void)
assert
(
rc
>
0
);
assert
(
rc
>
0
);
assert
(
zmq_msg_more
(
&
identity
));
assert
(
zmq_msg_more
(
&
identity
));
// Second frame is greeting signature
// Verify the existence of Peer-Address metadata
// Verify the existence of Peer-Address metadata
assert
(
streq
(
zmq_msg_gets
(
&
identity
,
"Peer-Address"
),
"127.0.0.1"
));
assert
(
streq
(
zmq_msg_gets
(
&
identity
,
"Peer-Address"
),
"127.0.0.1"
));
// Second frame is greeting signature
rc
=
zmq_recv
(
stream
,
buffer
,
255
,
0
);
rc
=
zmq_recv
(
stream
,
buffer
,
255
,
0
);
assert
(
rc
==
10
);
assert
(
rc
==
10
);
assert
(
memcmp
(
buffer
,
greeting
.
signature
,
10
)
==
0
);
assert
(
memcmp
(
buffer
,
greeting
.
signature
,
10
)
==
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