Skip to content

Commit bf96cd3

Browse files
committed
Init the checksum choices before the daemon auth.
1 parent 1b26888 commit bf96cd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat.c

+2
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,8 @@ void output_daemon_greeting(int f_out, int am_client)
834834
char tmpbuf[MAX_NSTR_STRLEN];
835835
int our_sub = get_subprotocol_version();
836836

837+
init_checksum_choices();
838+
837839
get_default_nno_list(&valid_auth_checksums, tmpbuf, MAX_NSTR_STRLEN, '\0');
838840

839841
io_printf(f_out, "@RSYNCD: %d.%d %s\n", protocol_version, our_sub, tmpbuf);

0 commit comments

Comments
 (0)