svn commit: samba r2572 - in branches/SAMBA_4_0/source/ntvfs/nbench: .

tridge at samba.org tridge at samba.org
Fri Sep 24 00:42:21 GMT 2004


Author: tridge
Date: 2004-09-24 00:42:20 +0000 (Fri, 24 Sep 2004)
New Revision: 2572

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/nbench&rev=2572&nolog=1

Log:
fixed two places where status is not initialised in the nbench backend

Modified:
   branches/SAMBA_4_0/source/ntvfs/nbench/vfs_nbench.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/nbench/vfs_nbench.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/nbench/vfs_nbench.c	2004-09-23 19:45:10 UTC (rev 2571)
+++ branches/SAMBA_4_0/source/ntvfs/nbench/vfs_nbench.c	2004-09-24 00:42:20 UTC (rev 2572)
@@ -110,7 +110,7 @@
 
 	ntvfs_set_private(req->tcon, depth, private);
 	
-	PASS_THRU(req->tcon, connect, (req, sharename, depth+1));
+	status = PASS_THRU(req->tcon, connect, (req, sharename, depth+1));
 
 	return status;
 }
@@ -125,7 +125,7 @@
 
 	close(private->log_fd);
 
-	PASS_THRU(tcon, disconnect, (tcon, depth+1));
+	status = PASS_THRU(tcon, disconnect, (tcon, depth+1));
 
 	return status;
 }



More information about the samba-cvs mailing list