git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df4aec
)
s4:libnet Use str_list_make_single() in resolv code
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 13 May 2009 12:20:10 +0000
(22:20 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 13 May 2009 19:56:59 +0000
(
05:56
+1000)
source4/libnet/libnet_lookup.c
patch
|
blob
|
history
diff --git
a/source4/libnet/libnet_lookup.c
b/source4/libnet/libnet_lookup.c
index fc307823b8e6897c01a1f5050cd2d10da7a5435e..ab26814b9ad052accbc02958f1498a3816432d24 100644
(file)
--- 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);
}