mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ctdb: Fix the O3 developer build on RHEL7
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
This commit is contained in:
parent
89a24622e7
commit
1c10c85939
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user