summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2007-08-21 14:42:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:09 -0500
commite88a6d34383b37d9b6d019004a55e7cc4fc4f075 (patch)
tree7f4d8253401d46665f60c4fc1cf8edd7cdcbdf65 /source3/client
parent2e498b48bbfb127b33d2e84ba87c7d9456c42558 (diff)
downloadsamba-e88a6d34383b37d9b6d019004a55e7cc4fc4f075.tar.gz
samba-e88a6d34383b37d9b6d019004a55e7cc4fc4f075.tar.bz2
samba-e88a6d34383b37d9b6d019004a55e7cc4fc4f075.zip
r24601: Fix if statements where we still expected cli_connect() to return BOOL.
(This used to be commit 12cb06d6ad73c37b9ee4bdf31f88dd3ce8cc3935)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/smbctool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbctool.c b/source3/client/smbctool.c
index 79542fbdab..28122d8430 100644
--- a/source3/client/smbctool.c
+++ b/source3/client/smbctool.c
@@ -3494,7 +3494,7 @@ static int do_message_op(void)
msg_port = port ? port : 139;
if (!(cli=cli_initialise()) || (cli_set_port(cli, msg_port) != msg_port) ||
- !cli_connect(cli, server_name, &ip)) {
+ !NT_STATUS_IS_OK(cli_connect(cli, server_name, &ip))) {
d_printf("Connection to %s failed\n", desthost);
return 1;
}