diff options
author | Wayne Davison <wayned@samba.org> | 2005-02-01 09:23:59 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-02-01 09:23:59 +0000 |
commit | c32edbe02eaf8ae9ed1bf6d766ab4f4c34881217 (patch) | |
tree | 16ff3f048333cdde4e3aae8a724a47902c2943a2 /log.c | |
parent | f3c3ed44e6c69570be81d5a968265e5f1c27ffc3 (diff) | |
download | rsync-c32edbe02eaf8ae9ed1bf6d766ab4f4c34881217.tar.gz rsync-c32edbe02eaf8ae9ed1bf6d766ab4f4c34881217.tar.bz2 rsync-c32edbe02eaf8ae9ed1bf6d766ab4f4c34881217.zip |
Make sure the %f expansion handles the new dir.root properly.
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -375,8 +375,8 @@ static void log_formatted(enum logcode code, case 'o': n = op; break; case 'f': pathjoin(buf2, sizeof buf2, - file->dir.root ? file->dir.root : "", - f_name(file)); + am_sender && file->dir.root ? file->dir.root : "", + f_name(file)); clean_fname(buf2, 0); n = buf2; if (*n == '/') n++; |