commit | 31f0c4e9c1ded8d59f755b76a4947dae05e19340 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@codecoup.pl> | Fri Feb 23 14:40:09 2018 +0100 |
committer | Szymon Janc <szymon.janc@codecoup.pl> | Mon Feb 26 13:54:03 2018 +0100 |
tree | b6d666bd4b4bf95794da0cede20d928cbffb4503 | |
parent | 06eb3d80452feb284c0ef475cbd5976457686142 [diff] |
shared/btp: Fix return type in btp_send This function returns bool.
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 @@ len = sizeof(*hdr) + length; hdr = l_malloc(len); if (!hdr) - return NULL; + return false; hdr->service = service; hdr->opcode = opcode;