summaryrefslogtreecommitdiff
path: root/source4/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client/client.c')
-rw-r--r--source4/client/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 5981812eb7..34d0fc20f1 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3274,9 +3274,7 @@ static int do_message_op(void)
struct nbt_name called, calling;
const char *server_name;
- 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, desthost, name_type);