From: Andrew Bartlett Date: Wed, 13 May 2009 12:20:10 +0000 (+1000) Subject: s4:libnet Use str_list_make_single() in resolv code X-Git-Tag: tdb-1.1.5~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5cee228875ebd6e2af57f9b3e42a9ceef621ea;p=thirdparty%2Fsamba.git s4:libnet Use str_list_make_single() in resolv code --- diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index fc307823b8e..ab26814b9ad 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); }