summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/query.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-06 22:11:00 -0700
committerAndrew Tridgell <tridge@samba.org>2008-06-06 22:11:00 -0700
commit5d5c8a09f07ae441d44f6aaa2fb60a594256fd42 (patch)
treed31cdfe3f333d20e16b031cf59a66fcaf41d747e /source4/torture/nbt/query.c
parente97cf207fac5e4101376d2a10dd95a93a9a1e0fb (diff)
parentd51904c48970265e84c303ae97502152b85da587 (diff)
downloadsamba-5d5c8a09f07ae441d44f6aaa2fb60a594256fd42.tar.gz
samba-5d5c8a09f07ae441d44f6aaa2fb60a594256fd42.tar.bz2
samba-5d5c8a09f07ae441d44f6aaa2fb60a594256fd42.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 8e96f2edb003d997e71e9e237463882696279d0f)
Diffstat (limited to 'source4/torture/nbt/query.c')
-rw-r--r--source4/torture/nbt/query.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/nbt/query.c b/source4/torture/nbt/query.c
index 3f3a15cca5..80027a1b68 100644
--- a/source4/torture/nbt/query.c
+++ b/source4/torture/nbt/query.c
@@ -47,8 +47,7 @@ static void increment_handler(struct nbt_name_request *req)
*/
static bool bench_namequery(struct torture_context *tctx)
{
- struct nbt_name_socket *nbtsock = nbt_name_socket_init(tctx, tctx->ev,
- lp_iconv_convenience(tctx->lp_ctx));
+ struct nbt_name_socket *nbtsock = torture_init_nbt_socket(tctx);
int num_sent=0;
struct result_struct *result;
struct nbt_name_query io;