Diff between 4d60826865c760cc4e5718b6414746a394768110 and 6f3111eb680df9c13502aacd65554846a9e13a3f
Changed Files
| File | Additions | Deletions | Status |
| src/shared/gatt-helpers.c | +3 | -3 | modified |
Full Patch
diff --git a/src/shared/gatt-helpers.c b/src/shared/gatt-helpers.c
index 50fcb26..f1fa630 100644
--- a/src/shared/gatt-helpers.c
+++ b/src/shared/gatt-helpers.c
@@ -1133,7 +1133,7 @@ struct bt_gatt_request *bt_gatt_discover_included_services(struct bt_att *att,
uint8_t pdu[6];
if (!att)
- return false;
+ return NULL;
op = new0(struct bt_gatt_request, 1);
op->att = att;
@@ -1247,7 +1247,7 @@ struct bt_gatt_request *bt_gatt_discover_characteristics(struct bt_att *att,
uint8_t pdu[6];
if (!att)
- return false;
+ return NULL;
op = new0(struct bt_gatt_request, 1);
op->att = att;
@@ -1475,7 +1475,7 @@ struct bt_gatt_request *bt_gatt_discover_descriptors(struct bt_att *att,
uint8_t pdu[4];
if (!att)
- return false;
+ return NULL;
op = new0(struct bt_gatt_request, 1);
op->att = att;