aboutsummaryrefslogtreecommitdiffstats
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-05-02 16:36:07 +0000
committerWayne Davison <wayned@samba.org>2006-05-02 16:36:07 +0000
commitb2d4639543c91a2186517569945f835d55c7affc (patch)
treeda61c5013cdb09d6ca15614ffac3fe35b71b87cc /flist.c
parentd3ef985954a2b79aaca4be17728cb541345157bf (diff)
downloadandroid_external_rsync-b2d4639543c91a2186517569945f835d55c7affc.tar.gz
android_external_rsync-b2d4639543c91a2186517569945f835d55c7affc.tar.bz2
android_external_rsync-b2d4639543c91a2186517569945f835d55c7affc.zip
Got rid of the sanitizing of a symlink's link string because it
is happening too early to work correctly (before we know what our destination-directory's depth in the module will be).
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/flist.c b/flist.c
index 6f1033a5..32e51a7b 100644
--- a/flist.c
+++ b/flist.c
@@ -663,8 +663,6 @@ static struct file_struct *receive_file_entry(struct file_list *flist,
if (linkname_len) {
file->u.link = bp;
read_sbuf(f, bp, linkname_len - 1);
- if (sanitize_paths)
- sanitize_path(bp, bp, "", lastdir_depth);
bp += linkname_len;
}
#endif