diff options
| author | Wayne Davison <wayned@samba.org> | 2003-12-15 00:54:44 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2003-12-15 00:54:44 +0000 |
| commit | 55d5937dd62be7224de88e40bdba8b91af4295cc (patch) | |
| tree | c83227d15be7ee36212194d7a1074c01f4e56fe7 | |
| parent | 63596e1c4a5cdd5f1874e501b4600ef3f3c70a89 (diff) | |
| download | android_external_rsync-55d5937dd62be7224de88e40bdba8b91af4295cc.tar.gz android_external_rsync-55d5937dd62be7224de88e40bdba8b91af4295cc.tar.bz2 android_external_rsync-55d5937dd62be7224de88e40bdba8b91af4295cc.zip | |
Simplified the setting of the reading_remotely variable in function
read_filesfrom_line() now that remote_filesfrom_file is set more
often.
| -rw-r--r-- | io.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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: |
