summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-05-14 05:51:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-05-14 05:56:59 +1000
commit524a79b73509a356293603af83b01c98e6175a9a (patch)
tree1785869434eb85b052d1b4f4ea63d16d56a246f2 /source4/nbt_server/wins
parentaa5cee228875ebd6e2af57f9b3e42a9ceef621ea (diff)
downloadsamba-524a79b73509a356293603af83b01c98e6175a9a.tar.gz
samba-524a79b73509a356293603af83b01c98e6175a9a.tar.bz2
samba-524a79b73509a356293603af83b01c98e6175a9a.zip
s4:nbtd Use str_list_make_single() to turn iname->wins_server into a list
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/winsclient.c b/source4/nbt_server/wins/winsclient.c
index 2546a26279..94c354a22a 100644
--- a/source4/nbt_server/wins/winsclient.c
+++ b/source4/nbt_server/wins/winsclient.c
@@ -140,7 +140,7 @@ static void nbtd_wins_refresh(struct tevent_context *ev, struct tevent_timer *te
/* setup a wins name refresh request */
io.in.name = iname->name;
- io.in.wins_servers = (const char **)str_list_make(tmp_ctx, iname->wins_server, NULL);
+ io.in.wins_servers = (const char **)str_list_make_single(tmp_ctx, iname->wins_server);
io.in.wins_port = lp_nbt_port(iface->nbtsrv->task->lp_ctx);
io.in.addresses = nbtd_address_list(iface, tmp_ctx);
io.in.nb_flags = iname->nb_flags;