aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-12-26 22:59:53 +0000
committerWayne Davison <wayned@samba.org>2003-12-26 22:59:53 +0000
commit49c24eccd45da628ddba06a83ee5a67a27ba5d33 (patch)
tree676b173b80435a3ec1aeda92d2c4c8a0186acb16 /io.c
parent0d7d3763f210430d1fdd2e05ac5f5d4edde5741c (diff)
downloadandroid_external_rsync-49c24eccd45da628ddba06a83ee5a67a27ba5d33.tar.gz
android_external_rsync-49c24eccd45da628ddba06a83ee5a67a27ba5d33.tar.bz2
android_external_rsync-49c24eccd45da628ddba06a83ee5a67a27ba5d33.zip
A change that wasn't needed.
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 84a85bb3..16955a02 100644
--- a/io.c
+++ b/io.c
@@ -406,8 +406,8 @@ int read_filesfrom_line(int fd, char *fname)
}
*s = '\0';
- /* Dump comments. */
- if (*fname == '#' || *fname == ';')
+ /* Dump comments if reading locally. */
+ if (!reading_remotely && (*fname == '#' || *fname == ';'))
goto start;
return s - fname;