mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-11-12 23:40:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user