summaryrefslogtreecommitdiff
path: root/sender.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-01 09:21:28 +0000
committerWayne Davison <wayned@samba.org>2005-02-01 09:21:28 +0000
commit2b1366635dc416420ed2617260aafe17d259ae0f (patch)
tree5f155e4fc087c3afd8b5a43aaa1c9b16c02e3726 /sender.c
parent42f23f479d3e5beb8275d5dd8f4bb2f905f54f4d (diff)
downloadrsync-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sender.c b/sender.c
index 10ea2fa9..a964e086 100644
--- a/sender.c
+++ b/sender.c
@@ -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