[BlueZ v2 01/20] adapter: Use false instead of 0 for bool

Bastien Nocera
2024-05-10T12:14:02Z

---
src/adapter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/adapter.c b/src/adapter.c
index 5505edbb29c1..8b478e213cb5 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2413,7 +2413,7 @@ static int update_discovery_filter(struct btd_adapter *adapter)
* starting discovery.
*/
if (filters_equal(adapter->current_discovery_filter, sd_cp) &&
- adapter->discovering != 0) {
+ adapter->discovering != false) {
DBG("filters were equal, deciding to not restart the scan.");
g_free(sd_cp);
return 0;
--
2.44.0