From 2b7fe67f4d02f861c9a4bfe823e648f0a995e613 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 22 May 2005 10:23:01 +0000 Subject: r6933: Add a couple of helper functions for creating nbt names. (This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777) --- source4/torture/torture.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/torture/torture.c') diff --git a/source4/torture/torture.c b/source4/torture/torture.c index f5e52c5358..b7e2168319 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -49,9 +49,7 @@ static struct smbcli_state *open_nbt_connection(void) struct smbcli_state *cli; const char *host = lp_parm_string(-1, "torture", "host"); - calling.name = lp_netbios_name(); - calling.type = NBT_NAME_CLIENT; - calling.scope = NULL; + make_nbt_name_client(&calling, lp_netbios_name()); nbt_choose_called_name(NULL, &called, host, NBT_NAME_SERVER); -- cgit