aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-26 20:21:08 +0000
committerWayne Davison <wayned@samba.org>2005-02-26 20:21:08 +0000
commit87703a1b1f5082f54f8047cef8f744442f70ba15 (patch)
tree692c3e9378cfad44c5c2acf22d16256b146f26a0 /io.c
parent981b202661f03cf51c79a3369344f95dc0fc35c3 (diff)
downloadandroid_external_rsync-87703a1b1f5082f54f8047cef8f744442f70ba15.tar.gz
android_external_rsync-87703a1b1f5082f54f8047cef8f744442f70ba15.tar.bz2
android_external_rsync-87703a1b1f5082f54f8047cef8f744442f70ba15.zip
Improved the comment for kludge_around_eof.
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/io.c b/io.c
index 035362e9..b0c13fc7 100644
--- a/io.c
+++ b/io.c
@@ -76,8 +76,10 @@ int batch_gen_fd = -1;
const char *io_write_phase = phase_unknown;
const char *io_read_phase = phase_unknown;
-/** Ignore EOF errors while reading a module listing if the remote
- version is 24 or less. */
+/* Ignore EOF errors while reading a module listing if the remote
+ * version is 24 or less. Also used by the receiver when it is
+ * reading a potential end-of-transfer keep-alive message that
+ * may never come. */
int kludge_around_eof = False;
int msg_fd_in = -1;