Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63596e1
)
Simplified the setting of the reading_remotely variable in function
author
Wayne Davison
<wayned@samba.org>
Mon, 15 Dec 2003 00:54:44 +0000
(
00:54
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 15 Dec 2003 00:54:44 +0000
(
00:54
+0000)
read_filesfrom_line() now that remote_filesfrom_file is set more
often.
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
9fc3715
..
3ca13df
100644
(file)
--- a/
io.c
+++ b/
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: