git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d47f75
)
ctdb-protocol: Fix typo in type of return variable
author
Martin Schwenke
<martin@meltin.net>
Mon, 9 Oct 2017 03:52:30 +0000
(14:52 +1100)
committer
Martin Schwenke
<martins@samba.org>
Mon, 16 Oct 2017 03:28:19 +0000
(
05:28
+0200)
This causes failures to be folded down to 1, which is incorrect.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/protocol/protocol_util.c
patch
|
blob
|
history
diff --git
a/ctdb/protocol/protocol_util.c
b/ctdb/protocol/protocol_util.c
index 68a470fc31679b07cb5fca2c0ca8fbe4f46d4e38..73652e7f060113525161f67f18e282b7e891b7d0 100644
(file)
--- 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);