svn commit: samba r23570 - in branches/SAMBA_3_0_25/source/client: .

vlendec at samba.org vlendec at samba.org
Thu Jun 21 15:41:20 GMT 2007


Author: vlendec
Date: 2007-06-21 15:41:19 +0000 (Thu, 21 Jun 2007)
New Revision: 23570

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23570

Log:
Merge cli_connect bugfix to 3_0_25.

Jeremy, I'm surprised to find this in 3_0_25, I thought you had said you
don't want to see this there. What has changed your mind?

Volker

Modified:
   branches/SAMBA_3_0_25/source/client/smbmount.c


Changeset:
Modified: branches/SAMBA_3_0_25/source/client/smbmount.c
===================================================================
--- branches/SAMBA_3_0_25/source/client/smbmount.c	2007-06-21 15:12:51 UTC (rev 23569)
+++ branches/SAMBA_3_0_25/source/client/smbmount.c	2007-06-21 15:41:19 UTC (rev 23570)
@@ -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