mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-04 07:27:26 +01:00
Problem: assertion in test_xpub_manual is swapped
Solution: check that both pointers passed as arguments to test_missing_subscription are non-NULL, instead of the opposite.
This commit is contained in:
parent
dd038ae38e
commit
a93600309f
@ -230,7 +230,7 @@ int test_xpub_proxy_unsubscribe_on_disconnect()
|
||||
|
||||
int test_missing_subscriptions(const char *frontend, const char *backend)
|
||||
{
|
||||
assert (!frontend && !backend);
|
||||
assert (frontend && backend);
|
||||
|
||||
const char* topic1 = "1";
|
||||
const char* topic2 = "2";
|
||||
|
Loading…
x
Reference in New Issue
Block a user