git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a2462
)
ctdb: Fix the O3 developer build on RHEL7
author
Volker Lendecke
<vl@samba.org>
Fri, 12 Aug 2016 11:18:19 +0000
(13:18 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 12 Aug 2016 22:55:02 +0000
(
00:55
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Aug 13 00:55:02 CEST 2016 on sn-devel-144
ctdb/tools/ctdb.c
patch
|
blob
|
history
diff --git
a/ctdb/tools/ctdb.c
b/ctdb/tools/ctdb.c
index e52121d5fa1be45917d348fe203f517e47ecb716..2cb699aadf2c4cdc21de08deda786be636d72725 100644
(file)
--- a/
ctdb/tools/ctdb.c
+++ b/
ctdb/tools/ctdb.c
@@
-4761,6
+4761,8
@@
static int control_scriptstatus(TALLOC_CTX *mem_ctx, struct ctdb_context *ctdb,
}
valid = false;
+ end = 0;
+
for (i=0; i<ARRAY_SIZE(all_events); i++) {
if (strcmp(event_str, all_events[i]) == 0) {
valid = true;