mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
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!!!
This commit is contained in:
parent
b7172e7a71
commit
538ed076a9
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user