From 1eec3184b6a65e1c1f7417f20c63a31ee4ca01a0 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Mon, 9 Oct 2017 14:52:30 +1100 Subject: [PATCH] ctdb-protocol: Fix typo in type of return variable This causes failures to be folded down to 1, which is incorrect. Signed-off-by: Martin Schwenke Reviewed-by: Volker Lendecke --- ctdb/protocol/protocol_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/protocol/protocol_util.c b/ctdb/protocol/protocol_util.c index 68a470fc316..73652e7f060 100644 --- a/ctdb/protocol/protocol_util.c +++ b/ctdb/protocol/protocol_util.c @@ -265,7 +265,7 @@ int ctdb_sock_addr_from_string(const char *str, unsigned port; char *endp = NULL; size_t len; - bool ret; + int ret; if (! with_port) { ret = ip_from_string(str, addr); -- 2.47.3