mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-19 12:25:42 -04:00
Simplified the setting of the reading_remotely variable in function
read_filesfrom_line() now that remote_filesfrom_file is set more often.
This commit is contained in:
3
io.c
3
io.c
@@ -375,8 +375,7 @@ int read_filesfrom_line(int fd, char *fname)
|
||||
extern int io_timeout;
|
||||
extern int eol_nulls;
|
||||
extern char *remote_filesfrom_file;
|
||||
extern int am_server;
|
||||
int reading_remotely = remote_filesfrom_file || (am_server && fd == 0);
|
||||
int reading_remotely = remote_filesfrom_file != NULL;
|
||||
int nulls = eol_nulls || reading_remotely;
|
||||
|
||||
start:
|
||||
|
||||
Reference in New Issue
Block a user