fix incorrect QoS compare that breaks creating topics multiple times

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2019-01-07 12:52:17 +01:00
parent 30f421ea9b
commit d6dcb0558d

View file

@ -316,7 +316,7 @@ bool dds_qos_equal (
} else if (a == NULL || b == NULL) { } else if (a == NULL || b == NULL) {
return false; return false;
} else { } else {
return nn_xqos_delta(a, b, ~(uint64_t)0) != 0; return nn_xqos_delta(a, b, ~(uint64_t)0) == 0;
} }
} }