summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2014-05-05 06:46:58 -0500
committerJeremy Allison <jra@samba.org>2014-05-05 20:19:13 +0200
commit2c9683db4ba07436490edd38c535ff53e92f1960 (patch)
tree921ded0f7cdc097bd617363213f4f4421863320d /source4/libnet
parentcbd6beb469c63749d68e6fa52b101c19ee75314f (diff)
downloadsamba-2c9683db4ba07436490edd38c535ff53e92f1960.tar.gz
Fix an empty if statement.
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>
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_domain.c b/source4/libnet/libnet_domain.c
index 70ed31d02be..27a3e5521d0 100644
--- a/source4/libnet/libnet_domain.c
+++ b/source4/libnet/libnet_domain.c
@@ -207,7 +207,7 @@ static void continue_domain_open_lookup(struct tevent_req *subreq)
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)) {