nimble/host: Return non-equal when comparing invalid UUIDs

With all debug check disabled, we need to make sure that invalid UUIDs
are not compared as equal.
This commit is contained in:
Andrzej Kaczmarek
2018-10-19 17:52:12 +02:00
parent 20e971b551
commit 0c4ee10be6
+1 -1
View File
@@ -83,7 +83,7 @@ ble_uuid_cmp(const ble_uuid_t *uuid1, const ble_uuid_t *uuid2)
BLE_HS_DBG_ASSERT(0);
return 0;
return -1;
}
void