X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/58cadc8608fbb2cbc7b74578cd92de4337a4b887..c53217a2b861ff7453cd35fcc35f2e79df419c4d:/io.c diff --git a/io.c b/io.c index 9fc37152..84a85bb3 100644 --- a/io.c +++ b/io.c @@ -270,7 +270,6 @@ static int read_timeout(int fd, char *buf, size_t len) continue; } - if (io_error_fd != -1 && FD_ISSET(io_error_fd, &r_fds)) { read_error_fd(); } @@ -375,8 +374,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: