git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39bbd40
)
ctdbd_conn: Adapt loop counter's type to the loop limit
author
Volker Lendecke
<vl@samba.org>
Fri, 8 Apr 2016 13:59:08 +0000
(15:59 +0200)
committer
Ralph Boehme
<slow@samba.org>
Mon, 25 Apr 2016 16:29:20 +0000
(18:29 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 04f6f2f0aacfec993936d7746dc255c3ebd12105..127c3adda05152b66f05b27a717418cce4ddc231 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-201,7
+201,8
@@
static bool ctdbd_working(struct ctdbd_connection *conn, uint32_t vnn)
struct ctdb_node_map_old *m;
uint32_t failure_flags;
bool ok = false;
- int i, ret;
+ uint32_t i;
+ int ret;
ret = ctdbd_control(conn, CTDB_CURRENT_NODE,
CTDB_CONTROL_GET_NODEMAP, 0, 0,