s4:libnet: make use of explicit dcerpc_*_recv functions
[bbaumbach/samba-autobuild/.git] / source4 / libnet / libnet_lookup.c
index 4548864ba4adf8acd088ca66ad96819882d0c7e6..7771a64e6dd9a19e8a862c76b33c9e53a2a0f4f6 100644 (file)
@@ -348,7 +348,7 @@ static void continue_name_found(struct rpc_request *req)
        c = talloc_get_type(req->async.private_data, struct composite_context);
        s = talloc_get_type(c->private_data, struct lookup_name_state);
 
-       c->status = dcerpc_ndr_request_recv(req);
+       c->status = dcerpc_lsa_LookupNames_recv(req);
        if (!composite_is_ok(c)) return;
 
        c->status = s->lookup.out.result;