From d6a0865daf0f0ff2736ec20ff5b0aabc4df345bd Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 26 Jun 2007 01:59:33 +0000 Subject: r23603: revert NTSTATUS return from cli_connect() in smbmount.c --- source/client/smbmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/smbmount.c b/source/client/smbmount.c index b1462dbddf1..cce03e59a94 100644 --- a/source/client/smbmount.c +++ b/source/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) || - !NT_STATUS_IS_OK(cli_connect(c, server_n, &ip))) { + !cli_connect(c, server_n, &ip)) { DEBUG(0,("%d: Connection to %s failed\n", sys_getpid(), server_n)); if (c) { cli_shutdown(c); -- cgit