diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-05-13 22:20:10 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-05-14 05:56:59 +1000 |
commit | aa5cee228875ebd6e2af57f9b3e42a9ceef621ea (patch) | |
tree | 02989181764bf4617e6337866b56e263cd4ff814 /source4/libnet | |
parent | 6df4aece1df6f0e24f75736999cda4b33d2d3750 (diff) | |
download | samba-aa5cee228875ebd6e2af57f9b3e42a9ceef621ea.tar.gz samba-aa5cee228875ebd6e2af57f9b3e42a9ceef621ea.tar.bz2 samba-aa5cee228875ebd6e2af57f9b3e42a9ceef621ea.zip |
s4:libnet Use str_list_make_single() in resolv code
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index fc307823b8..ab26814b9a 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -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); } |