summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-06-21 14:30:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:30 -0500
commit622af1be30ad0cc9733386b6616549cd123689d8 (patch)
tree0bac5502de0a58b2886302f484f3bef7779479a1 /source3
parentf7f3b72b21a024b69f861f2e2169f5efc1a2dce3 (diff)
downloadsamba-622af1be30ad0cc9733386b6616549cd123689d8.tar.gz
samba-622af1be30ad0cc9733386b6616549cd123689d8.tar.bz2
samba-622af1be30ad0cc9733386b6616549cd123689d8.zip
r23567: Fix bug 4721
(This used to be commit f2050f5a3af382ad88071a5d5f6b172af4143e0f)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 805245b634..4e1c94e1fa 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -152,7 +152,7 @@ static struct cli_state *do_connection(char *the_service)
/* have to open a new connection */
if (!(c=cli_initialise()) || (cli_set_port(c, smb_port) != smb_port) ||
- !cli_connect(c, server_n, &ip)) {
+ !NT_STATUS_IS_OK(cli_connect(c, server_n, &ip))) {
DEBUG(0,("%d: Connection to %s failed\n", sys_getpid(), server_n));
if (c) {
cli_shutdown(c);