Commit 9eeb3b9c authored by Wayne Davison's avatar Wayne Davison

Call the new close_multiplexing_in() function in the generator.

parent d1b31da7
...@@ -480,7 +480,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name) ...@@ -480,7 +480,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
close(f_out); close(f_out);
/* we can't let two processes write to the socket at one time */ /* 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 place to send errors */
set_msg_fd_out(error_pipe[1]); 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) ...@@ -499,6 +499,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
} }
am_generator = 1; am_generator = 1;
close_multiplexing_in();
if (write_batch) if (write_batch)
stop_write_batch(); stop_write_batch();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment