Style fix - dedup - deduplicating backup program (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit c972b40120719fc67dc193b36c31db8b9f3319e7 (DIR) parent 820025dc64924ea3ad82dcf3f7c4a8f99f3f671b (HTM) Author: sin <sin@2f30.org> Date: Sat, 2 Mar 2019 01:31:04 +0000 Style fix Diffstat: M chunker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/chunker.c b/chunker.c @@ -115,7 +115,7 @@ get_chunk_size(struct chunker *chunker) if (i > 0) fp = buzh_update(fp, bp[i - 1], bp[i + WINSIZE - 1], WINSIZE); - if (match_pattern(chunker, i + WINSIZE, fp) == 1) + if (match_pattern(chunker, i + WINSIZE, fp)) return i + WINSIZE; }