diff options
Diffstat (limited to 'source/client/smbctool.c')
-rw-r--r-- | source/client/smbctool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/smbctool.c b/source/client/smbctool.c index fd385ee6817..b7042f99cb2 100644 --- a/source/client/smbctool.c +++ b/source/client/smbctool.c @@ -3494,7 +3494,7 @@ static int do_message_op(void) msg_port = port ? port : 139; - if (!(cli=cli_initialise(NULL)) || (cli_set_port(cli, msg_port) != msg_port) || + if (!(cli=cli_initialise()) || (cli_set_port(cli, msg_port) != msg_port) || !cli_connect(cli, server_name, &ip)) { d_printf("Connection to %s failed\n", desthost); return 1; |