1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r23567: Fix bug 4721

This commit is contained in:
Volker Lendecke 2007-06-21 14:30:40 +00:00 committed by Gerald (Jerry) Carter
parent 4b5d9b2ba7
commit f2050f5a3a

View 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) ||
!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);