if (protocol_version < 23) {
if (protocol_version == 22 || !am_sender)
- io_start_multiplex_in(f_in);
+ io_start_multiplex_in();
}
return 0;
if (protocol_version < 23
&& (protocol_version == 22 || am_sender))
- io_start_multiplex_out(f_out);
+ io_start_multiplex_out();
else if (!ret) {
/* We have to get I/O multiplexing started so that we can
* get the error back to the client. This means getting
* the protocol setup finished first in later versions. */
setup_protocol(f_out, f_in);
- io_start_multiplex_out(f_out);
+ io_start_multiplex_out();
}
if (!ret) {
char *motd;
int i = -1;
+ io_set_sock_fds(f_in, f_out);
+
if (!lp_load(config_file, 0))
exit_cleanup(RERR_SYNTAX);