Diff between 06eb3d80452feb284c0ef475cbd5976457686142 and 31f0c4e9c1ded8d59f755b76a4947dae05e19340
Changed Files
| File | Additions | Deletions | Status |
| src/shared/btp.c | +1 | -1 | modified |
Full Patch
diff --git a/src/shared/btp.c b/src/shared/btp.c
index 93df37a..7eea241 100644
--- a/src/shared/btp.c
+++ b/src/shared/btp.c
@@ -300,7 +300,7 @@ bool btp_send(struct btp *btp, uint8_t service, uint8_t opcode, uint8_t index,
len = sizeof(*hdr) + length;
hdr = l_malloc(len);
if (!hdr)
- return NULL;
+ return false;
hdr->service = service;
hdr->opcode = opcode;