git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5cee2
)
s4:nbtd Use str_list_make_single() to turn iname->wins_server into a list
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 13 May 2009 19:51:40 +0000
(
05:51
+1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 13 May 2009 19:56:59 +0000
(
05:56
+1000)
source4/nbt_server/wins/winsclient.c
patch
|
blob
|
history
diff --git
a/source4/nbt_server/wins/winsclient.c
b/source4/nbt_server/wins/winsclient.c
index 2546a26279d031ff3e0f1f9e4c68c9b18392dcf6..94c354a22a19f0a176cde6aa34f581262ae7efd8 100644
(file)
--- 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;