diff options
author | Wayne Davison <wayned@samba.org> | 2006-01-24 22:22:17 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-01-24 22:22:17 +0000 |
commit | 4cff7c50dbb6cac1857c4495de7eed4fcc096659 (patch) | |
tree | 403db430c0a19a5f40d16c14d0bece8957011c1d /log.c | |
parent | 669302a172bad3ad72f64ad4fe7394e7ef6a1dd3 (diff) | |
download | rsync-4cff7c50dbb6cac1857c4495de7eed4fcc096659.tar.gz rsync-4cff7c50dbb6cac1857c4495de7eed4fcc096659.tar.bz2 rsync-4cff7c50dbb6cac1857c4495de7eed4fcc096659.zip |
Fixed a problem in the output of %i's 'T' flag on devices and
got rid of the unused 'a' flag.
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -541,13 +541,11 @@ static void log_formatted(enum logcode code, char *format, char *op, n[2] = !(iflags & ITEM_REPORT_CHECKSUM) ? '.' : 'c'; n[3] = !(iflags & ITEM_REPORT_SIZE) ? '.' : 's'; n[4] = !(iflags & ITEM_REPORT_TIME) ? '.' - : !preserve_times || IS_DEVICE(file->mode) - || S_ISLNK(file->mode) ? 'T' : 't'; + : !preserve_times || S_ISLNK(file->mode) ? 'T' : 't'; n[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p'; n[6] = !(iflags & ITEM_REPORT_OWNER) ? '.' : 'o'; n[7] = !(iflags & ITEM_REPORT_GROUP) ? '.' : 'g'; - n[8] = !(iflags & ITEM_REPORT_XATTRS) ? '.' : 'a'; - n[9] = '\0'; + n[8] = '\0'; if (iflags & (ITEM_IS_NEW|ITEM_MISSING_DATA)) { char ch = iflags & ITEM_IS_NEW ? '+' : '?'; |