diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2015-04-28 14:43:23 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-04-28 14:44:48 +0200 |
commit | 1c01a9f3183c19ce14d8d4db7f545499e2cac4a2 (patch) | |
tree | e689dc3212a874a49f896b8e830446b622184d82 /tools/btproxy.c | |
parent | 05e124ab1d214dfbdc523807789b67edf3adee5a (diff) | |
download | bluez-1c01a9f3183c19ce14d8d4db7f545499e2cac4a2.tar.gz |
tools/btproxy: Return proper type in setup_proxy
This function retuns bool.
Diffstat (limited to 'tools/btproxy.c')
-rw-r--r-- | tools/btproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/btproxy.c b/tools/btproxy.c index 43ccac17d..137172367 100644 --- a/tools/btproxy.c +++ b/tools/btproxy.c @@ -334,7 +334,7 @@ static bool setup_proxy(int host_fd, bool host_shutdown, proxy = new0(struct proxy, 1); if (!proxy) - return NULL; + return false; proxy->host_fd = host_fd; proxy->host_shutdown = host_shutdown; |