Primarily following the precedent set by other uses of composite_is_ok(), but
also making sure nothing tries to use c after this point if it is in fact not
ok.
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Fix bug #10348 - Empty body in if-statement in continue_domain_open_lookup.
r = &s->open;
/* check the rpc layer status */
- if (!composite_is_ok(c));
+ if (!composite_is_ok(c)) return;
/* check the rpc call itself status */
if (!NT_STATUS_IS_OK(s->lookup.out.result)) {