commit c972b40120719fc67dc193b36c31db8b9f3319e7
parent 820025dc64924ea3ad82dcf3f7c4a8f99f3f671b
Author: sin <sin@2f30.org>
Date: Sat, 2 Mar 2019 01:31:04 +0000
Style fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}