Commit 5a8543b8 authored by Wayne Davison's avatar Wayne Davison

In two places: needed to use protocol_version, not PROTOCOL_VERSION.

parent 19119cbd
...@@ -129,7 +129,7 @@ int start_inband_exchange(char *user, char *path, int f_in, int f_out, int argc) ...@@ -129,7 +129,7 @@ int start_inband_exchange(char *user, char *path, int f_in, int f_out, int argc)
sargs[sargc] = NULL; sargs[sargc] = NULL;
io_printf(f_out, "@RSYNCD: %d\n", PROTOCOL_VERSION); io_printf(f_out, "@RSYNCD: %d\n", protocol_version);
if (!read_line(f_in, line, sizeof(line)-1)) { if (!read_line(f_in, line, sizeof(line)-1)) {
rprintf(FERROR, "rsync: did not see server greeting\n"); rprintf(FERROR, "rsync: did not see server greeting\n");
...@@ -522,7 +522,7 @@ int start_daemon(int f_in, int f_out) ...@@ -522,7 +522,7 @@ int start_daemon(int f_in, int f_out)
set_nonblocking(f_in); set_nonblocking(f_in);
} }
io_printf(f_out, "@RSYNCD: %d\n", PROTOCOL_VERSION); io_printf(f_out, "@RSYNCD: %d\n", protocol_version);
motd = lp_motd_file(); motd = lp_motd_file();
if (motd && *motd) { if (motd && *motd) {
......
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