Commit 8daa74dc authored by Thomas Rodgers's avatar Thomas Rodgers

Fix comment from prior commit

parent fefe0d42
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment