mirror of
https://github.com/samba-team/samba.git
synced 2025-03-02 08:58:33 +03:00
r23567: Fix bug 4721
(This used to be commit f2050f5a3af382ad88071a5d5f6b172af4143e0f)
This commit is contained in:
parent
f7f3b72b21
commit
622af1be30
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user