aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-07-29 07:24:00 +0000
committerWayne Davison <wayned@samba.org>2004-07-29 07:24:00 +0000
commit9eeb3b9c88d62bac0fed650fdbc310d5958cc541 (patch)
tree5f85bc228de2afb9f1eb84cef520d5eca0d0f16a /main.c
parentd1b31da71e426ba7f636430d1764ae76858363d9 (diff)
downloadandroid_external_rsync-9eeb3b9c88d62bac0fed650fdbc310d5958cc541.tar.gz
android_external_rsync-9eeb3b9c88d62bac0fed650fdbc310d5958cc541.tar.bz2
android_external_rsync-9eeb3b9c88d62bac0fed650fdbc310d5958cc541.zip
Call the new close_multiplexing_in() function in the generator.
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index fb0924a1..0c355362 100644
--- a/main.c
+++ b/main.c
@@ -480,7 +480,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
close(f_out);
/* we can't let two processes write to the socket at one time */
- io_multiplexing_close();
+ close_multiplexing_out();
/* set place to send errors */
set_msg_fd_out(error_pipe[1]);
@@ -499,6 +499,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
}
am_generator = 1;
+ close_multiplexing_in();
if (write_batch)
stop_write_batch();