aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-07-24 16:40:41 +0000
committerWayne Davison <wayned@samba.org>2004-07-24 16:40:41 +0000
commit9459290ae798f52b34c569045af8b8655c31308e (patch)
treeb55dbb18c9c4e7c6853b697ab80b00b8c913bfae /main.c
parent741d654495cf4a35bd92ddf0df14e56681454ec6 (diff)
downloadandroid_external_rsync-9459290ae798f52b34c569045af8b8655c31308e.tar.gz
android_external_rsync-9459290ae798f52b34c569045af8b8655c31308e.tar.bz2
android_external_rsync-9459290ae798f52b34c569045af8b8655c31308e.zip
Call read_stream_flags() as soon as we open the batch file for
reading.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index db37e0f6..fb0924a1 100644
--- a/main.c
+++ b/main.c
@@ -1086,6 +1086,8 @@ int main(int argc,char *argv[])
batch_name);
exit_cleanup(RERR_FILEIO);
}
+ if (read_batch)
+ read_stream_flags(batch_fd);
}
if (am_daemon && !am_server)