diff options
| author | Wayne Davison <wayned@samba.org> | 2006-07-03 22:35:00 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-07-03 22:35:00 +0000 |
| commit | dcebf78fe0eec453a9e8fd4999536fd721d29eb4 (patch) | |
| tree | 341fdbfc3540572361e5a0cb4f5cf44676b5f05d /flist.c | |
| parent | 651c8510e8bdcdf8c01354120a63ddae203d2006 (diff) | |
| download | android_external_rsync-dcebf78fe0eec453a9e8fd4999536fd721d29eb4.tar.gz android_external_rsync-dcebf78fe0eec453a9e8fd4999536fd721d29eb4.tar.bz2 android_external_rsync-dcebf78fe0eec453a9e8fd4999536fd721d29eb4.zip | |
Obey the new "munge symlinks" dameon setting.
Diffstat (limited to 'flist.c')
| -rw-r--r-- | flist.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -655,6 +655,8 @@ 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 (lp_munge_symlinks(module_id)) + sanitize_path(bp, bp, "", lastdir_depth, NULL); bp += linkname_len; } #endif |
