diff options
author | Wayne Davison <wayned@samba.org> | 2005-02-01 09:21:28 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-02-01 09:21:28 +0000 |
commit | 2b1366635dc416420ed2617260aafe17d259ae0f (patch) | |
tree | 5f155e4fc087c3afd8b5a43aaa1c9b16c02e3726 /sender.c | |
parent | 42f23f479d3e5beb8275d5dd8f4bb2f905f54f4d (diff) | |
download | rsync-2b1366635dc416420ed2617260aafe17d259ae0f.tar.gz rsync-2b1366635dc416420ed2617260aafe17d259ae0f.tar.bz2 rsync-2b1366635dc416420ed2617260aafe17d259ae0f.zip |
Refer to the old basedir variable as dir.root.
Diffstat (limited to 'sender.c')
-rw-r--r-- | sender.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -150,9 +150,9 @@ void send_files(struct file_list *flist, int f_out, int f_in) stats.num_transferred_files++; stats.total_transferred_size += file->length; - if (file->basedir) { + if (file->dir.root) { /* N.B. We're sure that this fits, so offset is OK. */ - offset = strlcpy(fname, file->basedir, sizeof fname); + offset = strlcpy(fname, file->dir.root, sizeof fname); if (!offset || fname[offset-1] != '/') fname[offset++] = '/'; } else |