diff options
author | Wayne Davison <wayned@samba.org> | 2017-11-07 14:01:13 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2017-11-07 14:01:13 -0800 |
commit | 416e719bea4f5466c8dd2b34cac0059b6ff84ff3 (patch) | |
tree | 44865d457dd60e5f1707fe280e7f24eaf80e80b3 /t_stub.c | |
parent | 9f5dc9309ddbbffa77e27fb2058d0e688ff57c58 (diff) | |
download | rsync-416e719bea4f5466c8dd2b34cac0059b6ff84ff3.tar.gz |
More archaic-checksum improvements. This makes the len vars clearer
and ensures that only the flist code gets the 2-byte digest len.
Diffstat (limited to 't_stub.c')
-rw-r--r-- | t_stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,7 +98,7 @@ filter_rule_list daemon_filter_list; return "tester"; } - int csum_len_for_type(int cst) + int csum_len_for_type(int cst, int flg) { - return cst ? 16 : 1; + return cst || !flg ? 16 : 1; } |