svn commit: samba r2591 - in
branches/SAMBA_4_0/source/ntvfs/simple: .
tridge at samba.org
tridge at samba.org
Fri Sep 24 07:28:16 GMT 2004
Author: tridge
Date: 2004-09-24 07:28:16 +0000 (Fri, 24 Sep 2004)
New Revision: 2591
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/simple&rev=2591&nolog=1
Log:
fixed two errors in simple backend found with valgrind
Modified:
branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c 2004-09-24 07:08:02 UTC (rev 2590)
+++ branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c 2004-09-24 07:28:16 UTC (rev 2591)
@@ -72,6 +72,8 @@
private->next_search_handle = 0;
private->connectpath = talloc_strdup(tcon, lp_pathname(tcon->service));
private->open_files = NULL;
+ private->ops = ntvfs_backend_byname("simple", NTVFS_DISK);
+ private->search = NULL;
/* the directory must exist */
if (stat(private->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) {
More information about the samba-cvs
mailing list