summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/libnet_lookup.c')
-rw-r--r--source4/libnet/libnet_lookup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 0efda32603..c853885572 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -393,6 +393,7 @@ static void continue_name_found(struct rpc_request *req)
if (!composite_is_ok(c)) return;
c->status = s->lookup.out.result;
+ if (!composite_is_ok(c)) return;
composite_done(c);
}