svn commit: samba r23567 - in branches: SAMBA_3_0/source/client
SAMBA_3_0_26/source/client
vlendec at samba.org
vlendec at samba.org
Thu Jun 21 14:30:43 GMT 2007
Author: vlendec
Date: 2007-06-21 14:30:40 +0000 (Thu, 21 Jun 2007)
New Revision: 23567
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23567
Log:
Fix bug 4721
Modified:
branches/SAMBA_3_0/source/client/smbmount.c
branches/SAMBA_3_0_26/source/client/smbmount.c
Changeset:
Modified: branches/SAMBA_3_0/source/client/smbmount.c
===================================================================
--- branches/SAMBA_3_0/source/client/smbmount.c 2007-06-21 14:23:06 UTC (rev 23566)
+++ branches/SAMBA_3_0/source/client/smbmount.c 2007-06-21 14:30:40 UTC (rev 23567)
@@ -152,7 +152,7 @@
/* 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);
Modified: branches/SAMBA_3_0_26/source/client/smbmount.c
===================================================================
--- branches/SAMBA_3_0_26/source/client/smbmount.c 2007-06-21 14:23:06 UTC (rev 23566)
+++ branches/SAMBA_3_0_26/source/client/smbmount.c 2007-06-21 14:30:40 UTC (rev 23567)
@@ -152,7 +152,7 @@
/* 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);
More information about the samba-cvs
mailing list