r23603: revert NTSTATUS return from cli_connect() in smbmount.c
authorGerald Carter <jerry@samba.org>
Tue, 26 Jun 2007 01:59:33 +0000 (01:59 +0000)
committerGerald Carter <jerry@samba.org>
Tue, 26 Jun 2007 01:59:33 +0000 (01:59 +0000)
source/client/smbmount.c

index b1462dbddf18103d836298e13d19c48298f4c050..cce03e59a9426d529508bfef2d24e454f7f4cdb8 100644 (file)
@@ -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);