From 1c01a9f3183c19ce14d8d4db7f545499e2cac4a2 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 28 Apr 2015 14:43:23 +0200 Subject: [PATCH] tools/btproxy: Return proper type in setup_proxy This function retuns bool. --- tools/btproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3