From 538ed076a91c49edb7d11b73927f1e330b9abd79 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 30 Nov 2010 22:57:00 +0100 Subject: s3: Attempt to fix the shadow_copy2 module This module is from hell. Please make 100% sure that you did test it properly when touching it! This module has probably given me more grey hair than any other piece of Samba, so PLEASE PLEASE PLEASE be careful here!!! --- source3/modules/vfs_shadow_copy2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index ba6b3441b8..f47b287ea5 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -671,10 +671,10 @@ static char *shadow_copy2_realpath(vfs_handle_struct *handle, copy[gmt - fname + 1] = '\0'; DEBUG(10, ("calling NEXT_REALPATH with %s\n", copy)); - SHADOW2_NEXT(REALPATH, (handle, copy), char *, + SHADOW2_NEXT(REALPATH, (handle, fname), char *, NULL); } - SHADOW2_NEXT(REALPATH, (handle, name), char *, NULL); + SHADOW2_NEXT(REALPATH, (handle, fname), char *, NULL); } static const char *shadow_copy2_connectpath(struct vfs_handle_struct *handle, -- cgit