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:
Luca Boccassi 2016-04-23 18:16:49 +01:00
parent dd038ae38e
commit a93600309f

View File

@ -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";