From: Martin Schwenke Date: Mon, 9 Oct 2017 03:52:30 +0000 (+1100) Subject: ctdb-protocol: Fix typo in type of return variable X-Git-Tag: tevent-0.9.34~205 X-Git-Url: http://git.samba.org/samba.git/?p=vlendec%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=1eec3184b6a65e1c1f7417f20c63a31ee4ca01a0 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 --- 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);