mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s4:libnet Use str_list_make_single() in resolv code
This commit is contained in:
parent
6df4aece1d
commit
aa5cee2288
@ -129,7 +129,7 @@ NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
s = talloc_get_type(c->private_data, struct lookup_state);
|
||||
|
||||
io->out.address = (const char **)str_list_make(mem_ctx, s->address, NULL);
|
||||
io->out.address = (const char **)str_list_make_single(mem_ctx, s->address);
|
||||
NT_STATUS_HAVE_NO_MEMORY(io->out.address);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user