summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-30 22:57:00 +0100
committerVolker Lendecke <vlendec@samba.org>2010-12-01 07:58:06 +0100
commit538ed076a91c49edb7d11b73927f1e330b9abd79 (patch)
tree96c016fba4885ec924dc2c109e94e67a13e62e7f /source3/modules
parentb7172e7a71b152be687fe5045565c8cd99a73a18 (diff)
downloadsamba-538ed076a91c49edb7d11b73927f1e330b9abd79.tar.gz
samba-538ed076a91c49edb7d11b73927f1e330b9abd79.tar.bz2
samba-538ed076a91c49edb7d11b73927f1e330b9abd79.zip
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!!!
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c4
1 files changed, 2 insertions, 2 deletions
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,