Some name tweaks.
[rsync/rsync.git] / io.c
diff --git a/io.c b/io.c
index 9fc3715..84a85bb 100644 (file)
--- 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: