mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
Problem: remaining basic assertions
Solution: use unity assertions instead
This commit is contained in:
@@ -45,9 +45,8 @@ typedef void (*extra_func_t) (void *socket_);
|
||||
void set_sockopt_bind_to_device (void *socket)
|
||||
{
|
||||
const char device[] = "lo";
|
||||
int rc =
|
||||
zmq_setsockopt (socket, ZMQ_BINDTODEVICE, &device, sizeof (device) - 1);
|
||||
assert (rc == 0);
|
||||
TEST_ASSERT_SUCCESS_ERRNO (
|
||||
zmq_setsockopt (socket, ZMQ_BINDTODEVICE, &device, sizeof (device) - 1));
|
||||
}
|
||||
|
||||
// TODO this is duplicated from test_pair_tcp
|
||||
|
||||
Reference in New Issue
Block a user