summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorFrank Lahm <franklahm@googlemail.com>2011-10-13 15:41:53 -0700
committerJeremy Allison <jra@samba.org>2011-10-14 03:26:06 +0200
commit7a0b5d6fc51d5d212529e82e5ed8e21516bfbe27 (patch)
treefad7ac26c5589be626395bd9fd710b3440fd5f54 /source3/smbd/filename.c
parent1b27efd9107eef290e2c7d4826953157bab2f3c4 (diff)
downloadsamba-7a0b5d6fc51d5d212529e82e5ed8e21516bfbe27.tar.gz
samba-7a0b5d6fc51d5d212529e82e5ed8e21516bfbe27.tar.bz2
samba-7a0b5d6fc51d5d212529e82e5ed8e21516bfbe27.zip
Add support for VFS op streaminfo chaining in all relevant VFS modules.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 610a4ce42a..7fe7cc8063 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -1169,7 +1169,7 @@ static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
struct smb_filename *smb_fname)
{
NTSTATUS status;
- unsigned int i, num_streams;
+ unsigned int i, num_streams = 0;
struct stream_struct *streams = NULL;
if (SMB_VFS_STAT(conn, smb_fname) == 0) {