mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
Problem: identifiers not conformant with naming convention
Solution: fix identifier names
This commit is contained in:
committed by
Simon Giesecke
parent
18edd28955
commit
a83c57d0bb
@@ -196,12 +196,12 @@ void test_monitor_versioned_basic (bind_function_t bind_function_,
|
||||
// Now do a basic ping test
|
||||
bind_function_ (server, server_endpoint, sizeof server_endpoint);
|
||||
|
||||
int ipv6_;
|
||||
size_t ipv6_size_ = sizeof (ipv6_);
|
||||
int ipv6;
|
||||
size_t ipv6_size = sizeof (ipv6);
|
||||
TEST_ASSERT_SUCCESS_ERRNO (
|
||||
zmq_getsockopt (server, ZMQ_IPV6, &ipv6_, &ipv6_size_));
|
||||
zmq_getsockopt (server, ZMQ_IPV6, &ipv6, &ipv6_size));
|
||||
TEST_ASSERT_SUCCESS_ERRNO (
|
||||
zmq_setsockopt (client, ZMQ_IPV6, &ipv6_, sizeof (int)));
|
||||
zmq_setsockopt (client, ZMQ_IPV6, &ipv6, sizeof (int)));
|
||||
TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (client, server_endpoint));
|
||||
bounce (server, client);
|
||||
|
||||
@@ -327,14 +327,14 @@ void test_monitor_versioned_stats (bind_function_t bind_function_,
|
||||
push, ZMQ_SNDBUF, &tcp_buffer_size, sizeof (tcp_buffer_size)));
|
||||
bind_function_ (push, server_endpoint, sizeof (server_endpoint));
|
||||
|
||||
int ipv6_;
|
||||
size_t ipv6_size_ = sizeof (ipv6_);
|
||||
int ipv6;
|
||||
size_t ipv6_size = sizeof (ipv6);
|
||||
TEST_ASSERT_SUCCESS_ERRNO (
|
||||
zmq_getsockopt (push, ZMQ_IPV6, &ipv6_, &ipv6_size_));
|
||||
zmq_getsockopt (push, ZMQ_IPV6, &ipv6, &ipv6_size));
|
||||
for (int i = 0; i < pulls_count; ++i) {
|
||||
pulls[i] = test_context_socket (ZMQ_PULL);
|
||||
TEST_ASSERT_SUCCESS_ERRNO (
|
||||
zmq_setsockopt (pulls[i], ZMQ_IPV6, &ipv6_, sizeof (int)));
|
||||
zmq_setsockopt (pulls[i], ZMQ_IPV6, &ipv6, sizeof (int)));
|
||||
int timeout_ms = 10;
|
||||
TEST_ASSERT_SUCCESS_ERRNO (zmq_setsockopt (
|
||||
pulls[i], ZMQ_RCVTIMEO, &timeout_ms, sizeof (timeout_ms)));
|
||||
|
||||
Reference in New Issue
Block a user