mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 14:18:17 -04:00
Use the renamed stdout_format_has_i variable.
This commit is contained in:
1 parent
17bda2d109
commit
20f90d5e8a
2 files changed
+4
-5
No files matched your search
@@ -26,7 +26,7 @@
|
||||
extern int verbose;
|
||||
extern int link_dest;
|
||||
extern int make_backups;
|
||||
extern int log_format_has_i;
|
||||
extern int stdout_format_has_i;
|
||||
extern char *basis_dir[];
|
||||
extern struct file_list *the_file_list;
|
||||
|
||||
@@ -183,7 +183,7 @@ int hard_link_check(struct file_struct *file, int ndx, char *fname,
|
||||
head = hlink_list[file->F_HLINDEX];
|
||||
if (ndx != head) {
|
||||
struct file_struct *head_file = FPTR(head);
|
||||
if (!log_format_has_i && verbose > 1) {
|
||||
if (!stdout_format_has_i && verbose > 1) {
|
||||
rprintf(FINFO, "\"%s\" is a hard link\n",
|
||||
f_name(file, NULL));
|
||||
}
|
||||
@@ -208,7 +208,7 @@ int hard_link_check(struct file_struct *file, int ndx, char *fname,
|
||||
continue;
|
||||
statret = 1;
|
||||
st = &st3;
|
||||
if (verbose < 2 || !log_format_has_i)
|
||||
if (verbose < 2 || !stdout_format_has_i)
|
||||
itemizing = code = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -218,8 +218,7 @@ int set_file_attrs(char *fname, struct file_struct *file, STRUCT_STAT *st,
|
||||
#endif
|
||||
|
||||
if (verbose > 1 && flags & ATTRS_REPORT) {
|
||||
enum logcode code = logfile_format_has_i || dry_run
|
||||
? FCLIENT : FINFO;
|
||||
enum logcode code = logfile_format_has_i || dry_run ? FCLIENT : FINFO;
|
||||
if (updated)
|
||||
rprintf(code, "%s\n", fname);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user